copilotkit 4.27.0 → 4.29.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 (92) hide show
  1. package/README.md +161 -26
  2. package/cli-build-info.json +7 -7
  3. package/index.js +8234 -5108
  4. package/onboarding/index.json +3 -2
  5. package/onboarding/prompts/authenticate/start.md +54 -55
  6. package/onboarding/prompts/conversion/plan.md +3 -3
  7. package/onboarding/prompts/credentials/finalize-plan.md +28 -24
  8. package/onboarding/prompts/credentials/plan.md +31 -28
  9. package/onboarding/prompts/credentials/settle-credentials.md +7 -7
  10. package/onboarding/prompts/credentials/write-plan.md +77 -51
  11. package/onboarding/prompts/deployment/choose-local.md +9 -9
  12. package/onboarding/prompts/deployment/local-evaluation.md +12 -12
  13. package/onboarding/prompts/fallback/best-effort.md +9 -13
  14. package/onboarding/prompts/feature/a2ui/implement.md +4 -4
  15. package/onboarding/prompts/feature/a2ui/plan.md +3 -3
  16. package/onboarding/prompts/feature/a2ui/proof.md +5 -5
  17. package/onboarding/prompts/feature/a2ui/start.md +17 -8
  18. package/onboarding/prompts/feature/channels/implement.md +7 -7
  19. package/onboarding/prompts/feature/channels/plan.md +5 -5
  20. package/onboarding/prompts/feature/channels/proof.md +8 -7
  21. package/onboarding/prompts/feature/channels/start.md +18 -9
  22. package/onboarding/prompts/feature/chat-suggestions/implement.md +4 -4
  23. package/onboarding/prompts/feature/chat-suggestions/plan.md +3 -3
  24. package/onboarding/prompts/feature/chat-suggestions/proof.md +5 -5
  25. package/onboarding/prompts/feature/chat-suggestions/start.md +17 -8
  26. package/onboarding/prompts/feature/complete.md +2 -2
  27. package/onboarding/prompts/feature/learning/implement.md +12 -12
  28. package/onboarding/prompts/feature/learning/plan.md +4 -4
  29. package/onboarding/prompts/feature/learning/proof.md +13 -13
  30. package/onboarding/prompts/feature/learning/start.md +17 -8
  31. package/onboarding/prompts/feature/open-generative-ui/implement.md +4 -4
  32. package/onboarding/prompts/feature/open-generative-ui/plan.md +3 -3
  33. package/onboarding/prompts/feature/open-generative-ui/proof.md +5 -5
  34. package/onboarding/prompts/feature/open-generative-ui/start.md +17 -8
  35. package/onboarding/prompts/feature/realtime-sync/implement.md +5 -5
  36. package/onboarding/prompts/feature/realtime-sync/plan.md +3 -3
  37. package/onboarding/prompts/feature/realtime-sync/proof.md +5 -5
  38. package/onboarding/prompts/feature/realtime-sync/start.md +16 -7
  39. package/onboarding/prompts/feature/rich-threads/implement.md +6 -6
  40. package/onboarding/prompts/feature/rich-threads/plan.md +3 -3
  41. package/onboarding/prompts/feature/rich-threads/proof.md +5 -5
  42. package/onboarding/prompts/feature/rich-threads/start.md +16 -7
  43. package/onboarding/prompts/feature/stop.md +4 -4
  44. package/onboarding/prompts/feature/voice/implement.md +4 -4
  45. package/onboarding/prompts/feature/voice/plan.md +4 -4
  46. package/onboarding/prompts/feature/voice/proof.md +5 -5
  47. package/onboarding/prompts/feature/voice/start.md +17 -8
  48. package/onboarding/prompts/framework/ag2.md +3 -3
  49. package/onboarding/prompts/framework/agno.md +3 -3
  50. package/onboarding/prompts/framework/built-in.md +3 -3
  51. package/onboarding/prompts/framework/claude-sdk-python.md +3 -3
  52. package/onboarding/prompts/framework/claude-sdk-typescript.md +3 -3
  53. package/onboarding/prompts/framework/crewai-flows.md +6 -6
  54. package/onboarding/prompts/framework/custom-ag-ui.md +4 -4
  55. package/onboarding/prompts/framework/deep-agents.md +3 -3
  56. package/onboarding/prompts/framework/google-adk.md +3 -3
  57. package/onboarding/prompts/framework/langgraph-fastapi.md +3 -3
  58. package/onboarding/prompts/framework/langgraph-python.md +3 -3
  59. package/onboarding/prompts/framework/langgraph-typescript.md +3 -3
  60. package/onboarding/prompts/framework/llamaindex.md +3 -3
  61. package/onboarding/prompts/framework/mastra.md +3 -3
  62. package/onboarding/prompts/framework/ms-agent-dotnet.md +5 -5
  63. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +5 -5
  64. package/onboarding/prompts/framework/ms-agent-python.md +3 -3
  65. package/onboarding/prompts/framework/pydantic-ai.md +3 -3
  66. package/onboarding/prompts/framework/strands-python.md +3 -3
  67. package/onboarding/prompts/framework/strands-typescript.md +3 -3
  68. package/onboarding/prompts/frontend/angular.md +4 -4
  69. package/onboarding/prompts/frontend/nextjs.md +4 -4
  70. package/onboarding/prompts/frontend/plan.md +12 -12
  71. package/onboarding/prompts/frontend/react-native.md +3 -3
  72. package/onboarding/prompts/frontend/react-spa.md +3 -3
  73. package/onboarding/prompts/frontend/vue.md +3 -3
  74. package/onboarding/prompts/implementation/build-and-validate.md +32 -14
  75. package/onboarding/prompts/proof/complete.md +6 -7
  76. package/onboarding/prompts/proof/oss-baseline.md +24 -5
  77. package/onboarding/prompts/proof/round-trip.md +41 -21
  78. package/onboarding/prompts/research/gather.md +85 -40
  79. package/onboarding/prompts/research/merge.md +3 -3
  80. package/onboarding/prompts/research/preflight.md +2 -2
  81. package/onboarding/prompts/research/route.md +10 -4
  82. package/onboarding/prompts/setup/questions.md +53 -234
  83. package/onboarding/prompts/starter/clone.md +43 -34
  84. package/onboarding/prompts/stopped/run-failed.md +3 -3
  85. package/onboarding/prompts/subagent/create-plan.md +57 -34
  86. package/onboarding/prompts/subagent/implement-and-validate.md +40 -35
  87. package/onboarding/prompts/subagent/inspect-repository.md +17 -4
  88. package/onboarding/prompts/subagent/prove-oss-baseline.md +24 -1
  89. package/onboarding/prompts/subagent/prove-round-trip.md +55 -49
  90. package/onboarding/prompts/unsupported/no-validated-path.md +3 -3
  91. package/package.json +1 -1
  92. package/release/release-tool.js +8 -1
@@ -3,6 +3,19 @@
3
3
  Read and run only inside the project directory. Do not edit source, configuration,
4
4
  dependencies, or tracked files. Do not read, show, store, or return secret values.
5
5
 
6
+ ## When a command is refused
7
+
8
+ If you are a subagent and your harness refuses a command, return at once. Name the
9
+ command, the directory you ran it from, and the refusal, and run nothing else. Do not wait
10
+ for an approval: nobody sees it. The main coding agent runs the command itself and passes
11
+ the result on. The one wait allowed is a harness escalation request that this brief tells
12
+ you to make for a command. Make that request and wait for its answer.
13
+
14
+ If your handoff holds a command's result, use it and do not run that command again.
15
+
16
+ If you are the main coding agent and follow this brief yourself, this section is not for
17
+ you. Do not return: handle a refused command as the run's other prompts say.
18
+
6
19
  Find the expected agent id from the project. Start the existing agent and frontend only
7
20
  when they are not already running. Before using a port, identify its process and working
8
21
  directory. Do not stop a process outside this project.
@@ -35,7 +48,7 @@ Prove the live runtime in this order:
35
48
  4. Confirm from project files that the runtime constructor passes a `runner` option rather
36
49
  than an `intelligence` option. A package, import, project file, or key is not use proof.
37
50
  5. Run
38
- `npx --prefer-offline --yes copilotkit@4.27.0 verify --expect-runtime oss --round-trip --agent <expected-agent-id> --json`,
51
+ `npx --prefer-offline --yes copilotkit@4.29.0 verify --expect-runtime oss --round-trip --agent <expected-agent-id> --json`,
39
52
  with the runtime URL or auth header options that this project needs. Add
40
53
  `--runtime-url <url>` when the report names a runtime URL the dev server does not
41
54
  serve. Require exit zero
@@ -68,5 +81,15 @@ The default in-memory OSS runner is ephemeral. SQLite, custom, or framework pers
68
81
  can be durable. Report the persistence that project evidence proves, or `unproved`. Do not
69
82
  replace it and do not describe all OSS runs as ephemeral.
70
83
 
84
+ Before you return, record that you are returning:
85
+
86
+ ```text
87
+ npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase subagent-returned --brief prove-oss-baseline --result <ok|failed>
88
+ ```
89
+
90
+ The Status line of your result decides the value. Pass `ok` only for `Status: passed`.
91
+ Pass `failed` for `Status: failed` or `Status: blocked`. If your harness refuses this command, say so in your result and return
92
+ anyway: the main coding agent records it.
93
+
71
94
  Start with `Status: passed`, `Status: failed`, or `Status: blocked`.
72
95
  End your turn after returning the baseline result, process ids and ports used, and evidence paths.
@@ -30,7 +30,7 @@ the steps name: no SDK calls, AG-UI requests, or thread reads of your own to con
30
30
  journey's frontend, and run only that one.
31
31
 
32
32
  A run that cloned a starter is the one exception. When the main coding agent tells you
33
- that this run cloned a starter, run Step 1 and the proof checks, then go to Step 10. Skip Steps 5a through 9, open no browser
33
+ that this run cloned a starter, run Step 1 and the proof checks, then go to Step 9. Skip Steps 5a through 8, open no browser
34
34
  or device, and report `skipped-cloned-starter` as the surface-check outcome.
35
35
 
36
36
  Where this is a second attempt after a repair, run every step from the proof checks through
@@ -50,6 +50,19 @@ Gather what you need in as few commands as possible. Combine independent reads i
50
50
  command rather than running them one at a time. Split a command only when its result decides
51
51
  what you run next.
52
52
 
53
+ ## When a command is refused
54
+
55
+ If you are a subagent and your harness refuses a command, return at once. Name the
56
+ command, the directory you ran it from, and the refusal, and run nothing else. Do not wait
57
+ for an approval: nobody sees it. The main coding agent runs the command itself and passes
58
+ the result on. The one wait allowed is a harness escalation request that this brief tells
59
+ you to make for a command. Make that request and wait for its answer.
60
+
61
+ If your handoff holds a command's result, use it and do not run that command again.
62
+
63
+ If you are the main coding agent and follow this brief yourself, this section is not for
64
+ you. Do not return: handle a refused command as the run's other prompts say.
65
+
53
66
  ## Step 1 -- Read what the proof needs
54
67
 
55
68
  Read all of this from the approved plan in one pass, before you start anything:
@@ -76,7 +89,7 @@ about the failure it was spawned to clear.
76
89
  Run this from the target app directory:
77
90
 
78
91
  ```text
79
- npx --prefer-offline --yes copilotkit@4.27.0 onboard proof-check --json
92
+ npx --prefer-offline --yes copilotkit@4.29.0 onboard proof-check --json
80
93
  ```
81
94
 
82
95
  It starts each app's `dev` script unless a server from that app already listens, and
@@ -132,7 +145,7 @@ Otherwise sort `firstFailure`, and run the command again after each repair:
132
145
  asking. Read the port from the log, not from the plan, and record it:
133
146
 
134
147
  ```text
135
- npx --prefer-offline --yes copilotkit@4.27.0 onboard runtime-url --url <runtime-url>
148
+ npx --prefer-offline --yes copilotkit@4.29.0 onboard runtime-url --url <runtime-url>
136
149
  ```
137
150
 
138
151
  `<runtime-url>` is the project's runtime URL, or the plan's, with its port replaced by the
@@ -177,6 +190,13 @@ Otherwise sort `firstFailure`, and run the command again after each repair:
177
190
 
178
191
  Where the handoff carries a thread id from the developer, skip the numbered steps above
179
192
  and do not open the app for them. Run the checks with `--thread <id>` at once.
193
+ - `round-trip:page_context_reaches_agent` with a detail that says the starter does not pass
194
+ page context yet: it is marked `advisory`, and the checks pass. This framework's starter
195
+ and its AG-UI adapter keep the page's context off the model's prompt. That is a known gap,
196
+ not a fault of this run. Do not repair the adapter. Still run Step 5a where it applies. If
197
+ its context comparison fails, record that under the same warning rather than as a failed
198
+ step. Return the warning with the proof result. The rules below are for every other
199
+ page-context result.
180
200
  - `round-trip:page_context_reaches_agent` at `fail`: the agent answered the plain request
181
201
  and recorded nothing for the request that carried context. Return it with its evidence as
182
202
  a failed proof step. At `undetermined` and marked `advisory`, the agent answered without
@@ -212,10 +232,11 @@ for the same reason. Skip both steps and send no run. Record that they sent no r
212
232
  reason, and prove the page's data and the component in the browser instead, at Steps 6
213
233
  and 7.
214
234
 
215
- `verify --round-trip` asks a question that needs no context. Where the frontend's files
216
- call a context hook, it also sends one token as context and reports
217
- `page_context_reaches_agent`, whose `pass` proves that the agent's model sees context at
218
- all. An agent scoped to its own task answers without the token, so that check is often
235
+ `verify --round-trip` asks a question that needs no context. It then sends one token as
236
+ context and reports `page_context_reaches_agent`, also where the frontend's files call no
237
+ context hook, because the CopilotKit frontend sends context entries of its own. Without a
238
+ context hook, a `pass` proves only that a run with context answers. Where the files call a
239
+ context hook, a `pass` proves that the agent's model sees context at all. An agent scoped to its own task answers without the token, so that check is often
219
240
  `undetermined`, and this step is then the only proof of the path. A `pass` does not prove
220
241
  that the page's own entries arrive in the shape the agent reads. Nothing else before the
221
242
  browser reads that path, so a page whose data the agent never sees answers fluently over a
@@ -228,9 +249,15 @@ the agent sees the request the browser sends rather than a thinner one. Read the
228
249
  files the main coding agent named in the handoff, and search the project only for a file it
229
250
  did not name. Do not search the dependencies for the shape of an entry: the page's own call
230
251
  shows it. Send the same run
231
- body twice, to `<runtime>/agent/<agent id>/run`: once carrying the context entries the page
252
+ body twice: once carrying the context entries the page
232
253
  publishes, and once carrying the same entries with one value changed. Use the step 1
233
- request both times. Record the streamed events from each, and name both capture paths.
254
+ request both times. Write each body to a JSON file in `.copilotkit/proof/`, and send it with
255
+ `npx --prefer-offline --yes copilotkit@4.29.0 verify --send-run <file> --agent <agent id> --json`.
256
+ The command sends the body to `<runtime>/agent/<agent id>/run` and reads the events the run
257
+ streams. It writes them to `<file name>.events.jsonl` beside the body, and prints that path
258
+ with the answer text and the tool calls. Do not send a run with `curl` and read its events
259
+ with a client of your own. A managed runtime streams the events over the gateway, behind a
260
+ join token that expires 30 seconds after the run starts. Name both capture paths.
234
261
 
235
262
  For the changed run, pick one record the step 1 request matches. Add a marker to a text
236
263
  field that the answer repeats and that the step 1 request does not quote, such as its title
@@ -243,7 +270,8 @@ nothing to copy invents records. That failure belongs to the probe, not to the i
243
270
 
244
271
  Read each answer against the context it carried. The run carrying the page's context has to
245
272
  name the project's own records and no others. The run carrying the changed entry has to
246
- carry the marker, character for character, and name no record its context did not hold. A
273
+ carry the marker's 8 hex characters anywhere in it, in any case and with any punctuation
274
+ around them, and name no record its context did not hold. The model can reword the rest. A
247
275
  model that the context never reaches cannot produce the marker. A model that invents a
248
276
  different record on every call cannot produce it either, so two answers that only differ
249
277
  prove nothing. An answer without the marker means the page's data is not reaching the model.
@@ -270,8 +298,8 @@ Read the registrations this project's frontend declares, by name. Step 5a alread
270
298
  step 1 request with those declarations, so read the tool calls out of the events Step 5a
271
299
  captured for the run carrying the page's unchanged context. Do not send that request again.
272
300
  Where Step 5a sent no run because the proof checks needed `--thread`, send no run here
273
- either. Where Step 5a sent no run, because this journey shares no page data, send the step 1 request
274
- to `<runtime>/agent/<agent id>/run`, carrying those declarations, and read the tool calls out
301
+ either. Where Step 5a sent no run, because this journey shares no page data, send the step 1 request,
302
+ carrying those declarations, with `verify --send-run` the way Step 5a does, and read the tool calls out
275
303
  of that run's own events. Where the Step 5a run carried none of those declarations, send
276
304
  that run once more with them, and read that run instead. Never report a wiring gap from a run
277
305
  that carried no declarations: the agent has no component to call in it. The agent has to call one of the names the frontend registered. An
@@ -302,7 +330,7 @@ For a recorded `both-oss` starting state, this step has no component to render.
302
330
  same request the baseline recorded, require the same kind of user-visible result the
303
331
  baseline produced, and require that the thread for that request is listed in the drawer.
304
332
  Where this journey's frontend framework ships no threads drawer -- React Native --, prove
305
- that thread with `npx --prefer-offline --yes copilotkit@4.27.0 verify --round-trip`, which reads the
333
+ that thread with `npx --prefer-offline --yes copilotkit@4.29.0 verify --round-trip`, which reads the
306
334
  answer back off the thread and needs no browser. Where the proof checks needed `--thread`,
307
335
  prove the thread for this request with `verify --thread <id>` instead. Record which of the
308
336
  two you proved.
@@ -332,7 +360,7 @@ limit can be ten minutes. You cannot interrupt a call while it runs, so the limi
332
360
  what you do after one. If a browser call took longer than 60 seconds to return, the browser
333
361
  control is unresponsive. Do not call the browser again in this attempt. A second call to a
334
362
  hung tool waits as long as the first one did. Run
335
- `npx --prefer-offline --yes copilotkit@4.27.0 verify --frontend-url <the frontendUrl the proof checks resolved> --json` once,
363
+ `npx --prefer-offline --yes copilotkit@4.29.0 verify --frontend-url <the frontendUrl the proof checks resolved> --json` once,
336
364
  and record the `frontend_assets_served` result. Report the outcome `failed` with the cause
337
365
  `browser-control-unresponsive`. The application is not at fault on this evidence: every
338
366
  step before the browser proved the runtime without one, and no repair to the project can
@@ -342,7 +370,7 @@ reach the tool.
342
370
  the page to finish loading. Do not retype the host, and do not substitute a URL a tool
343
371
  offers you by default. Where the page loads but its styling is missing or the chat
344
372
  control is dead, run
345
- `npx --prefer-offline --yes copilotkit@4.27.0 verify --frontend-url <the url you opened> --json`
373
+ `npx --prefer-offline --yes copilotkit@4.29.0 verify --frontend-url <the url you opened> --json`
346
374
  before you diagnose anything else. A dev server can serve its page and refuse every
347
375
  static chunk behind it, and on screen that is indistinguishable from a broken
348
376
  integration. The `frontend_assets_served` check tells the two apart.
@@ -356,7 +384,10 @@ reach the tool.
356
384
  turn is finished when the streamed text stops growing and the generative UI component
357
385
  has rendered. For a recorded `both-oss` starting state, this step has no component, and
358
386
  the turn is finished when the streamed text stops growing.
359
- 6. Take one screenshot of the finished turn and record where you wrote it.
387
+ 6. Take one screenshot of the finished turn, and record its path. Where the browser tool
388
+ takes a path, save it in `.copilotkit/proof/`. A tool that writes into its own output
389
+ folder, such as `.playwright-mcp/`, can keep it there. Never save it among the project's
390
+ own files.
360
391
  7. Read the browser console a second time, and record every error that step 3 did not
361
392
  already list. Those belong to the request.
362
393
  8. Read the network requests. Record every request the page made to the runtime endpoint
@@ -446,42 +477,17 @@ it, rather than reading the compatibility field as a pass.
446
477
 
447
478
  For every other starting state, record Step 8 as not applicable.
448
479
 
449
- The application edit ban ends only after Step 8 passes or is recorded as not applicable.
450
- Step 9 can write only the tool files named by its guide or by this step.
451
-
452
- ## Step 9 -- Set up the continued-development tools
453
-
454
- Fetch the continued-development guide from the main coding agent with the proof
455
- documentation. Try the continued-development tools after the application passes proof.
456
-
457
- The implementation subagent installs the Skills unless the developer declined them. Check that
458
- it did. Look for the `.agents/skills` directory and the `.claude/skills` links in this
459
- project, and read the Skills result the implementation reported. Do not install them again.
480
+ ## Step 9 -- Return the result
460
481
 
461
- Where the developer declined them, do not install them, and do not call that a change from
462
- the plan. Report the command for them to run later instead:
463
- `npx skills add CopilotKit/CopilotKit/skills -y`.
482
+ Before you return, record that you are returning:
464
483
 
465
- Where the developer did not decline them and they are missing, install them as a recovery step.
466
- Tell the developer what the skills install writes into this project before you run it: a
467
- `.agents/skills` directory holding one folder per CopilotKit skill, linked into
468
- `.claude/skills`. Both sit in the working tree, so the install shows up in `git status`
469
- and can land in a commit. You cannot know whether this project keeps those directories in
470
- version control, so name them before you write them rather than after. Then run
471
- `npx skills add CopilotKit/CopilotKit/skills -y` to install the
472
- project-scoped CopilotKit Skills.
473
- <!-- sandboxed-harness -->
474
- It needs the network, so in a sandbox request escalation for it on its first run.
475
- <!-- /sandboxed-harness -->
476
- Record that the proof ran the install because the implementation did not.
477
-
478
- Do not register an MCP server: the Skills read the CopilotKit documentation without one.
479
-
480
- Check whether the install succeeded and record what you found. Record the command result.
481
- Report the Skills result separately from the proof result. A tool error does not change the
482
- proof result: this journey proved or it did not, whatever the install did.
484
+ ```text
485
+ npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase subagent-returned --brief prove-round-trip --result <ok|failed>
486
+ ```
483
487
 
484
- ## Step 10 -- Return the result
488
+ The Status line of your result decides the value. Pass `ok` only for `Status: passed`.
489
+ Pass `failed` for `Status: failed` or `Status: blocked`. If your harness refuses this command, say so in your result and return
490
+ anyway: the main coding agent records it.
485
491
 
486
492
  Start with `Status: passed`, `Status: failed`, or `Status: blocked`.
487
493
  Use `Status: passed` when the proof attempt completed with `performed`,
@@ -36,17 +36,17 @@ Before you show the best-effort plan, require this complete packet:
36
36
  Before you end your turn to wait for the developer, report the pause:
37
37
 
38
38
  ```text
39
- npx --prefer-offline --yes copilotkit@4.27.0 onboard checkpoint --phase awaiting-developer
39
+ npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-plan-approval
40
40
  ```
41
41
 
42
42
  After the developer approves the best-effort plan, run
43
- `npx --prefer-offline --yes copilotkit@4.27.0 onboard read fallback/best-effort`.
43
+ `npx --prefer-offline --yes copilotkit@4.29.0 onboard read fallback/best-effort`.
44
44
 
45
45
  Send one short report. The friction command follows the telemetry setting the developer
46
46
  already chose, so it needs no separate question.
47
47
 
48
48
  ```text
49
- npx --prefer-offline --yes copilotkit@4.27.0 onboard friction --phase stop --category <slug> --message "<sentences>"
49
+ npx --prefer-offline --yes copilotkit@4.29.0 onboard friction --phase stop --category <slug> --message "<sentences>"
50
50
  ```
51
51
 
52
52
  `--message` takes one or two sentences: the step you stopped at and what stopped it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "copilotkit",
3
- "version": "4.27.0",
3
+ "version": "4.29.0",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=20.9.0"
@@ -14984,7 +14984,7 @@ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14984
14984
 
14985
14985
  // apps/cli/src/config.ts
14986
14986
  function getTemplateRef() {
14987
- return true ? "3cddb360660503325b24564820c78a2ad7ee1843" : "main";
14987
+ return true ? "c616389550105d5a96d74501f77c6921aa79ecee" : "main";
14988
14988
  }
14989
14989
 
14990
14990
  // apps/cli/src/services/agentcore-config.ts
@@ -15182,6 +15182,13 @@ var TELEMETRY_ERROR_CODES = {
15182
15182
  * tell "the caller guessed a slug" from a malformed request.
15183
15183
  */
15184
15184
  PROJECT_NOT_FOUND: "PROJECT_NOT_FOUND",
15185
+ /**
15186
+ * `init --create` named a project the active organization already has.
15187
+ * Distinct from {@link TELEMETRY_ERROR_CODES.PROJECT_NOT_FOUND}, which it was
15188
+ * tagged as, so the dashboard counted a taken name as a missing project
15189
+ * (PE-784).
15190
+ */
15191
+ PROJECT_NAME_TAKEN: "PROJECT_NAME_TAKEN",
15185
15192
  /**
15186
15193
  * `project select` persisted the record and the key-provisioning call did
15187
15194
  * not succeed. Buckets as `network` because that is what it almost always