copilotkit 4.8.3 → 4.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +164 -0
- package/cli-build-info.json +7 -7
- package/index.js +5569 -3567
- package/onboarding/index.json +1 -140
- package/onboarding/prompts/authenticate/start.md +45 -9
- package/onboarding/prompts/credentials/finalize-plan.md +143 -15
- package/onboarding/prompts/credentials/plan.md +24 -50
- package/onboarding/prompts/framework/google-adk.md +26 -7
- package/onboarding/prompts/framework/langgraph-python.md +9 -4
- package/onboarding/prompts/framework/langgraph-typescript.md +9 -4
- package/onboarding/prompts/framework/mastra.md +42 -5
- package/onboarding/prompts/framework/ms-agent-dotnet.md +51 -6
- package/onboarding/prompts/framework/ms-agent-python.md +26 -6
- package/onboarding/prompts/frontend/angular.md +13 -4
- package/onboarding/prompts/frontend/nextjs.md +7 -2
- package/onboarding/prompts/frontend/plan.md +15 -20
- package/onboarding/prompts/frontend/react-native.md +2 -2
- package/onboarding/prompts/frontend/react-spa.md +1 -1
- package/onboarding/prompts/frontend/vue.md +2 -2
- package/onboarding/prompts/implementation/build-and-validate.md +72 -7
- package/onboarding/prompts/proof/complete.md +54 -2
- package/onboarding/prompts/proof/round-trip.md +134 -7
- package/onboarding/prompts/subagent/create-plan.md +57 -2
- package/onboarding/prompts/subagent/implement-and-validate.md +38 -3
- package/onboarding/prompts/subagent/inspect-repository.md +13 -3
- package/onboarding/prompts/subagent/prove-round-trip.md +103 -9
- package/onboarding/prompts/unsupported/no-validated-path.md +9 -4
- package/package.json +1 -1
- package/release/release-tool.js +32 -4
- package/onboarding/prompts/framework/ag2.md +0 -22
- package/onboarding/prompts/framework/agno.md +0 -23
- package/onboarding/prompts/framework/built-in.md +0 -21
- package/onboarding/prompts/framework/claude-sdk-python.md +0 -21
- package/onboarding/prompts/framework/claude-sdk-typescript.md +0 -21
- package/onboarding/prompts/framework/crewai-flows.md +0 -22
- package/onboarding/prompts/framework/deep-agents.md +0 -21
- package/onboarding/prompts/framework/langgraph-fastapi.md +0 -23
- package/onboarding/prompts/framework/llamaindex.md +0 -23
- package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +0 -22
- package/onboarding/prompts/framework/pydantic-ai.md +0 -23
- package/onboarding/prompts/framework/strands-python.md +0 -23
- package/onboarding/prompts/framework/strands-typescript.md +0 -23
- package/onboarding/prompts/frontend/slack.md +0 -20
- package/onboarding/prompts/frontend/teams.md +0 -20
|
@@ -1,14 +1,69 @@
|
|
|
1
1
|
# Create the onboarding plan
|
|
2
2
|
|
|
3
3
|
Use the selected framework, frontend, model, repository findings, and documentation URLs
|
|
4
|
-
from the main coding agent. Fetch
|
|
5
|
-
instructions.
|
|
4
|
+
from the main coding agent. Fetch every selected URL in one step rather than one after
|
|
5
|
+
another. Do not use remembered CopilotKit instructions.
|
|
6
|
+
|
|
7
|
+
Name the application the project asks for, and plan that application. Each documentation
|
|
8
|
+
page teaches through one worked example, and that example carries a domain of its own.
|
|
9
|
+
The domain belongs to the page. The project's purpose from the repository findings
|
|
10
|
+
decides what gets built. Where the two differ, the project wins. Where the repository
|
|
11
|
+
never states a purpose, say so in the plan and ask the developer before you adopt the
|
|
12
|
+
domain of an example.
|
|
13
|
+
|
|
14
|
+
Read only inside the project directory. Answer an API question from the documentation
|
|
15
|
+
URLs you were given, not from another checkout on this machine.
|
|
6
16
|
|
|
7
17
|
List the required credential variable names. Do not read or return credential values.
|
|
8
18
|
Preserve each agent or frontend that already exists.
|
|
9
19
|
|
|
20
|
+
Plan the runtime to consume the Intelligence credential. The runtime takes an
|
|
21
|
+
`intelligence` option holding a client built from the project key. A runtime given a
|
|
22
|
+
`runner` option instead is the SSE runtime. It never reads the key, threads are not
|
|
23
|
+
durable, and the Inspector reads the project as locked. The two options cannot be
|
|
24
|
+
combined. Take the constructor from the connect-your-runtime page. Where a framework
|
|
25
|
+
quickstart shows a `runner` option instead, the connect-your-runtime page wins.
|
|
26
|
+
|
|
27
|
+
Where the SDK requires an application-level value that the repository cannot supply, such
|
|
28
|
+
as an end-user identity for threads, use one clearly marked local placeholder and name what
|
|
29
|
+
production requires instead. Do not stop onboarding to ask the developer for it.
|
|
30
|
+
|
|
31
|
+
Check whether the existing agent performs unattended side effects, such as paging, sending
|
|
32
|
+
notifications, writing to an external system, or creating tickets. If it does, the new
|
|
33
|
+
conversational surface must not trigger them. Wrap only the reasoning steps, or require an
|
|
34
|
+
explicit developer confirmation before the side effect can run. Name each side effect you
|
|
35
|
+
found and state how the plan avoids it.
|
|
36
|
+
|
|
37
|
+
If the value of the journey depends on data the project already holds, name that data,
|
|
38
|
+
name where it lives, and name how it reaches the agent. Rendering a list in the DOM does
|
|
39
|
+
not give the agent access to it. An agent wired without the page's data answers from
|
|
40
|
+
entities it invents, and the answer looks correct. Take the frontend-context step from
|
|
41
|
+
the selected documentation. Where no selected page documents it for this framework or
|
|
42
|
+
frontend, record that as a documentation gap rather than guessing the API.
|
|
43
|
+
|
|
44
|
+
Where that data exists, name the entities the proof compares against: the ids, names, or
|
|
45
|
+
records the project holds and the answer has to reference. Where the outcome references
|
|
46
|
+
no project data, say so in the plan, so that the proof asks for evidence this journey can
|
|
47
|
+
produce.
|
|
48
|
+
|
|
10
49
|
Create one plan for implementation, validation, and proof. Name each file or area that can
|
|
11
50
|
change. Name the commands that can validate the result.
|
|
51
|
+
Name the commands or user path that prove a real generative-UI round trip.
|
|
52
|
+
|
|
53
|
+
Keep a production build out of the validation commands. A type check plus the real round
|
|
54
|
+
trip is the proof, and the round trip runs in development mode. Name the production build
|
|
55
|
+
as a follow-up for the developer instead. Never raise a bundle budget or relax a lint rule
|
|
56
|
+
to make a build pass during onboarding.
|
|
57
|
+
|
|
58
|
+
The type check runs against the project's own configuration. If the project has no
|
|
59
|
+
type-check command, add one that uses the configuration the project already has.
|
|
60
|
+
Do not add compiler strictness the project did not have. Nothing later in the run is
|
|
61
|
+
allowed to weaken type safety, so a stricter gate named here is one the run cannot get
|
|
62
|
+
back out of.
|
|
63
|
+
|
|
64
|
+
Gather what you need in as few commands as possible. Combine independent reads into one
|
|
65
|
+
command rather than running them one at a time. Split a command only when its result decides
|
|
66
|
+
what you run next.
|
|
12
67
|
|
|
13
68
|
Return the plan, the URLs that you read, and each documentation gap. Stop after you return
|
|
14
69
|
the findings to the main coding agent.
|
|
@@ -1,13 +1,48 @@
|
|
|
1
1
|
# Implement and validate the approved plan
|
|
2
2
|
|
|
3
|
-
Use only the approved plan and the selected documentation URLs. Fetch
|
|
4
|
-
change the project
|
|
3
|
+
Use only the approved plan and the selected documentation URLs. Fetch every URL in one
|
|
4
|
+
step, before you change the project, rather than one after another.
|
|
5
|
+
Do not use remembered CopilotKit instructions.
|
|
6
|
+
|
|
7
|
+
Add only the props, options, and imports that appear in the fetched documentation. A
|
|
8
|
+
remembered API from an earlier CopilotKit version will fail type checking against this
|
|
9
|
+
release, so do not decorate a documented example with anything it does not show.
|
|
10
|
+
|
|
11
|
+
The documentation supplies the wiring. The project supplies the application. That rule
|
|
12
|
+
governs props, options, and imports, and it stops there. A documentation example names a
|
|
13
|
+
domain of its own to make itself readable. Build what the plan names, in the project's
|
|
14
|
+
own domain, from the wiring the page shows. Do not carry the page's example domain into
|
|
15
|
+
the project: not its agent name, not its tools, not its data.
|
|
5
16
|
|
|
6
17
|
Preserve each agent or frontend that already exists. Add only the missing parts and the
|
|
7
|
-
CopilotKit connection. Do not read, show, store, or return secret values.
|
|
18
|
+
CopilotKit connection. Do not read, show, store, or return secret values. Do not read a
|
|
19
|
+
file outside the project directory: not for a credential, and not for an API question the
|
|
20
|
+
fetched documentation answers. A missing credential is the main coding agent's to ask
|
|
21
|
+
for.
|
|
22
|
+
|
|
23
|
+
When the documentation creates the frontend with the framework's own scaffolder,
|
|
24
|
+
run that scaffolder rather than hand-authoring what it emits.
|
|
25
|
+
Do not re-declare a compiler option it set. Every real project of that framework
|
|
26
|
+
inherits those defaults, so a hand-written replacement measures a configuration no
|
|
27
|
+
developer has. Where the plan needs configuration the scaffolder did not write,
|
|
28
|
+
extend the scaffolder's file and set only what you add.
|
|
29
|
+
|
|
30
|
+
Where the plan names data the project already holds, share that data with the agent
|
|
31
|
+
through the context API the selected documentation names for this frontend. Then write the agent's instructions to
|
|
32
|
+
refuse to answer about entities the shared context does not carry, and to name what is
|
|
33
|
+
missing instead. An agent with no context and no refusal invents plausible entities, and
|
|
34
|
+
no part of the run errors.
|
|
8
35
|
|
|
9
36
|
Run the validation commands from the approved plan. Record the changed files, command
|
|
10
37
|
results, and each error. Do not claim that the real user journey works in this phase.
|
|
11
38
|
|
|
39
|
+
Report the runtime constructor you wrote. Name whether it passes `intelligence` or
|
|
40
|
+
`runner`. A runtime built with `runner` is the SSE runtime and never reads the credential,
|
|
41
|
+
whatever the browser shows.
|
|
42
|
+
|
|
43
|
+
Gather what you need in as few commands as possible. Combine independent reads into one
|
|
44
|
+
command rather than running them one at a time. Split a command only when its result decides
|
|
45
|
+
what you run next.
|
|
46
|
+
|
|
12
47
|
Return the implementation result and validation evidence to the main coding agent. Stop
|
|
13
48
|
after you return the result.
|
|
@@ -2,13 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Inspect the repository without changing it. Find evidence for:
|
|
4
4
|
|
|
5
|
+
- what the project is for, in the project's own words
|
|
5
6
|
- any existing agent framework
|
|
6
7
|
- any existing frontend
|
|
7
8
|
- current CopilotKit packages and configuration
|
|
8
9
|
- authentication boundaries
|
|
9
10
|
- names of required credential variables, without reading their values
|
|
10
|
-
|
|
11
|
+
|
|
12
|
+
A project states what it is for in its `README.md`, in its package description, or in
|
|
13
|
+
the prompt of an agent it already has. Quote that statement rather than rewriting it. An
|
|
14
|
+
empty project carries it in the README alone, and that makes the README the whole of the
|
|
15
|
+
evidence. State the purpose as unproved when the project never says.
|
|
16
|
+
|
|
17
|
+
Gather what you need in as few commands as possible. Combine independent reads into one
|
|
18
|
+
command rather than running them one at a time. Split a command only when its result decides
|
|
19
|
+
what you run next.
|
|
11
20
|
|
|
12
21
|
Return the file paths and a short finding for each item. State each absent or unproved item.
|
|
13
|
-
Do not read, print, or return secret values. Do not
|
|
14
|
-
onboarding command. Stop after returning the
|
|
22
|
+
Do not read, print, or return secret values. Do not read a file outside the project
|
|
23
|
+
directory. Do not run or return another onboarding command. Stop after returning the
|
|
24
|
+
findings to the main coding agent.
|
|
@@ -1,20 +1,114 @@
|
|
|
1
1
|
# Prove the complete round trip
|
|
2
2
|
|
|
3
|
-
Use the proof steps and documentation URLs from the approved plan. Fetch
|
|
4
|
-
before you start
|
|
3
|
+
Use the proof steps and documentation URLs from the approved plan. Fetch every selected
|
|
4
|
+
URL in one step before you start, rather than one after another.
|
|
5
|
+
Do not use remembered CopilotKit instructions.
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
Read the port the developer's agent already serves from this project's own
|
|
8
|
+
configuration. Do not assume a default, and do not start a second copy of an agent this
|
|
9
|
+
project is already running. Before you bind any new server, check that the port is free
|
|
10
|
+
and pick another one if it is not. Record every port you used.
|
|
8
11
|
|
|
9
|
-
|
|
10
|
-
visible result, relevant process status, and evidence locations. Do not return secret values.
|
|
12
|
+
Start the agent and the selected frontend.
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
With both running, check the wiring in one command before you open a browser:
|
|
15
|
+
`npx copilotkit@4.8.4 verify --json`. Add `--runtime-url` when the runtime is not at
|
|
16
|
+
`http://localhost:3000/api/copilotkit`. Read the individual checks rather than the summary
|
|
17
|
+
alone: a check reported `undetermined` did not run, and that is not a pass. Fix anything
|
|
18
|
+
that is not a pass before the browser, because a browser failure stacked on broken wiring
|
|
19
|
+
costs a round of debugging to reach an answer this command already gave.
|
|
20
|
+
|
|
21
|
+
Treat `intelligence_consumed` as the check that matters most here. A journey that finishes
|
|
22
|
+
with the Intelligence credential never read looks complete and proves nothing about the
|
|
23
|
+
paid surface. `api_key_authenticates` passing beside it says the key is real and the
|
|
24
|
+
runtime never used it.
|
|
25
|
+
|
|
26
|
+
`intelligence_thread_routes` fails when the runtime reports a license but serves no
|
|
27
|
+
thread routes, which means saved Threads cannot load in a browser. The usual cause is a
|
|
28
|
+
handler mounted `mode: "single-route"`: remove that option so the handler serves its full
|
|
29
|
+
route set, and mount it at a catch-all route. If instead that check is `undetermined`
|
|
30
|
+
because the runtime reports no thread-endpoint state, the runtime predates the field.
|
|
31
|
+
Record that and move on — there is nothing to repair.
|
|
32
|
+
|
|
33
|
+
Then prove that the agent actually runs, which is the gate for this node:
|
|
34
|
+
`npx copilotkit@4.8.4 verify --round-trip --json`. It sends one request through the
|
|
35
|
+
runtime and reads the answer back from the thread, so it separates an agent that is
|
|
36
|
+
configured from an agent that works. Use `--agent <id>` when the runtime declares more
|
|
37
|
+
than one. If it reports `user-not-identified`, this project's `identifyUser` reads a
|
|
38
|
+
session the CLI does not carry: pass what it reads with `--header "Name: value"` and run
|
|
39
|
+
it again, because an auth-gated app refusing an unauthenticated caller is that app
|
|
40
|
+
working. Do not continue until this passes, and never report a round trip proven without
|
|
41
|
+
it.
|
|
42
|
+
|
|
43
|
+
Then send one real request through the frontend. Make sure that the request passes through
|
|
44
|
+
CopilotKit and reaches the selected agent.
|
|
45
|
+
|
|
46
|
+
Before you trust the agent, confirm that the process answering is the one in this
|
|
47
|
+
repository. `verify` reports which agents the runtime declares and has nothing to compare
|
|
48
|
+
them against, and `--round-trip` proves an agent answers under the declared id without
|
|
49
|
+
proving which deployment did, so this comparison is yours. A health endpoint that returns success proves only that something listens on
|
|
50
|
+
that port. An agent from earlier work often still holds it, and a stale process answers
|
|
51
|
+
as though it were the new one. Ask the running agent which graph or agent id it serves
|
|
52
|
+
and compare that with the id declared in this project.
|
|
53
|
+
|
|
54
|
+
If they do not match, find out whose process it is before you signal anything.
|
|
55
|
+
`lsof -ti :<port> -sTCP:LISTEN` gives the process id, and `lsof -a -p <pid> -d cwd` gives
|
|
56
|
+
the directory it runs in. Stop it only when that directory is inside this project, and
|
|
57
|
+
stop its children before the parent so nothing survives by reparenting. A holder outside
|
|
58
|
+
this project belongs to other work: leave it running, report it, and bind to another port.
|
|
59
|
+
Never stop a process because its command line matches a name. One `pkill` pattern reaches
|
|
60
|
+
every project on the machine and takes down work that has nothing to do with this run.
|
|
61
|
+
Never continue against a process you cannot identify, and never report a round trip proven
|
|
62
|
+
by one.
|
|
63
|
+
|
|
64
|
+
Address a local agent by host name rather than by an IP literal. Some local agents bind
|
|
65
|
+
IPv6 only, so an IPv4 literal fails against the correct port.
|
|
66
|
+
|
|
67
|
+
Drive the real UI in a browser whenever your environment can, and make sure that the
|
|
68
|
+
frontend receives working generative UI from the agent. Prefer this: it is the only step
|
|
69
|
+
that covers realtime delivery to a browser, browser-origin CORS and CSP, the frontend
|
|
70
|
+
provider being wired to this runtime, and a generative UI component actually rendering,
|
|
71
|
+
and no command-line check reaches any of them.
|
|
72
|
+
|
|
73
|
+
Use a browser MCP server already configured for the coding agent you are running as, the
|
|
74
|
+
same way the CopilotKit documentation MCP server below is configured. Do not add a browser
|
|
75
|
+
driver to this project: a devDependency and a browser download land in the diff and tax a
|
|
76
|
+
repository that never asked for one. If nothing in your environment can drive a
|
|
77
|
+
browser, skip this step rather than installing one, and never report a visual result you
|
|
78
|
+
did not see.
|
|
79
|
+
|
|
80
|
+
Report exactly one of `performed`, `skipped-no-browser-tool`, or `failed` for this step.
|
|
81
|
+
|
|
82
|
+
Record the input, visible result, relevant process status, and evidence locations. Do not
|
|
83
|
+
return secret values.
|
|
84
|
+
|
|
85
|
+
Where the answer is meant to be about data the project holds, check it against that data.
|
|
86
|
+
Read the entities the project holds -- the ids, names, or records the answer claims to
|
|
87
|
+
describe -- and confirm the answer names those and no others. Record the entities you
|
|
88
|
+
compared. Where the outcome of this journey references no project data, record that
|
|
89
|
+
instead, and do not invent a comparison to pass this step.
|
|
90
|
+
|
|
91
|
+
An answer that renders correctly over entities the project does not hold looks the same as
|
|
92
|
+
a correct one in a browser, in a screenshot, and in a video, so this comparison is the only
|
|
93
|
+
stage that separates them. An answer that names an entity the project does not hold is a
|
|
94
|
+
failed proof, not a passing one. Find which of these it is before you change anything: the
|
|
95
|
+
project's data never reaches the agent, the agent receives it and its instructions ignore
|
|
96
|
+
it, the page loads its data after the context was registered, or the run wired a different
|
|
97
|
+
source than the page renders. Fix that cause, then prove again.
|
|
98
|
+
|
|
99
|
+
Install the continued-development tools while you drive the round trip, not after it. The
|
|
100
|
+
two are independent, so running them one after the other adds minutes to the journey for
|
|
101
|
+
no reason. Fetch the continued-development guide from the main coding agent at the same
|
|
102
|
+
time as the proof documentation.
|
|
13
103
|
Use it to install the project-scoped CopilotKit Skills.
|
|
14
104
|
Use it to configure the CopilotKit documentation MCP server for the current coding agent.
|
|
15
105
|
|
|
16
106
|
Record the installed Skills and the configured MCP server. If either tool step fails, return
|
|
17
107
|
the exact documentation gap or error.
|
|
18
108
|
|
|
19
|
-
|
|
20
|
-
result
|
|
109
|
+
Gather what you need in as few commands as possible. Combine independent reads into one
|
|
110
|
+
command rather than running them one at a time. Split a command only when its result decides
|
|
111
|
+
what you run next.
|
|
112
|
+
|
|
113
|
+
Return the proof or the exact failed step to the main coding agent, together with the
|
|
114
|
+
visual-check outcome. Stop after you return the result.
|
|
@@ -7,11 +7,16 @@ Explain the exact step that failed. State whether authentication, project select
|
|
|
7
7
|
credentials, the journey, a documentation URL, implementation, validation, or proof caused
|
|
8
8
|
the stop. Do not invent an adapter or claim that an untested path works.
|
|
9
9
|
|
|
10
|
-
If useful, send one short report
|
|
10
|
+
If useful, send one short report:
|
|
11
11
|
|
|
12
12
|
```text
|
|
13
|
-
npx copilotkit@4.8.
|
|
13
|
+
npx copilotkit@4.8.4 onboard feedback
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Write the feedback message to the command's standard input
|
|
17
|
-
|
|
16
|
+
Write the feedback message to the command's standard input, in at most four lines.
|
|
17
|
+
Send no secrets, source code, logs, or command output. The command refuses a report
|
|
18
|
+
that carries any of those, prints the reason, and exits zero. A refused report is not
|
|
19
|
+
a failed step. Reword it and send it again, or stop without a report. The command
|
|
20
|
+
prints what it sent. This is the channel for a stop. Report friction only from a run that
|
|
21
|
+
finished, never from here. Stop after the explanation or optional feedback. This
|
|
22
|
+
unsupported outcome does not complete onboarding.
|
package/package.json
CHANGED
package/release/release-tool.js
CHANGED
|
@@ -91,6 +91,9 @@ var STARTER_SOURCE_CATALOG = {
|
|
|
91
91
|
adk: copilotKitStarter("examples/integrations/adk"),
|
|
92
92
|
"adk-angular": copilotKitStarter("examples/integrations/adk-angular"),
|
|
93
93
|
"aws-strands-py": copilotKitStarter("examples/integrations/strands-python"),
|
|
94
|
+
"aws-strands-ts": copilotKitStarter(
|
|
95
|
+
"examples/integrations/strands-typescript"
|
|
96
|
+
),
|
|
94
97
|
a2a: copilotKitStarter("examples/integrations/a2a-middleware"),
|
|
95
98
|
"microsoft-agent-framework-dotnet": copilotKitStarter(
|
|
96
99
|
"examples/integrations/ms-agent-framework-dotnet"
|
|
@@ -13900,6 +13903,15 @@ config(en_default());
|
|
|
13900
13903
|
// apps/cli/src/release/release-schemas.ts
|
|
13901
13904
|
var import_starter_source_policy2 = __toESM(require_starter_source_policy(), 1);
|
|
13902
13905
|
var CLI_BUILD_INFO_FILENAME = "cli-build-info.json";
|
|
13906
|
+
var PROVENANCE_CHANNELS = [
|
|
13907
|
+
"production",
|
|
13908
|
+
"dev",
|
|
13909
|
+
"staging",
|
|
13910
|
+
"preview",
|
|
13911
|
+
"push",
|
|
13912
|
+
"pull-request",
|
|
13913
|
+
"validation"
|
|
13914
|
+
];
|
|
13903
13915
|
var canonicalCommitSchema = external_exports.string().regex(/^[0-9a-f]{40}$/);
|
|
13904
13916
|
var instantSchema = external_exports.iso.datetime({ offset: true });
|
|
13905
13917
|
var packageVersionSchema = external_exports.string().regex(/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/);
|
|
@@ -13921,7 +13933,7 @@ var buildInfoSchema = external_exports.object({
|
|
|
13921
13933
|
submittedInput: external_exports.string().min(1),
|
|
13922
13934
|
commit: canonicalCommitSchema
|
|
13923
13935
|
}).strict(),
|
|
13924
|
-
channel: external_exports.enum(
|
|
13936
|
+
channel: external_exports.enum(PROVENANCE_CHANNELS),
|
|
13925
13937
|
triggeringActor: external_exports.string().min(1),
|
|
13926
13938
|
workflow: external_exports.object({
|
|
13927
13939
|
runId: external_exports.string().min(1),
|
|
@@ -14683,7 +14695,7 @@ import * as path4 from "node:path";
|
|
|
14683
14695
|
|
|
14684
14696
|
// apps/cli/src/config.ts
|
|
14685
14697
|
function getTemplateRef() {
|
|
14686
|
-
return true ? "
|
|
14698
|
+
return true ? "47c5510b4909f6728288ecf28d7b14cd14922d33" : "main";
|
|
14687
14699
|
}
|
|
14688
14700
|
|
|
14689
14701
|
// apps/cli/src/services/agentcore-config.ts
|
|
@@ -14860,6 +14872,12 @@ var TELEMETRY_ERROR_CODES = {
|
|
|
14860
14872
|
USER_ABORTED: "USER_ABORTED",
|
|
14861
14873
|
NON_INTERACTIVE: "NON_INTERACTIVE",
|
|
14862
14874
|
FILESYSTEM_WRITE_FAILED: "FILESYSTEM_WRITE_FAILED",
|
|
14875
|
+
/**
|
|
14876
|
+
* `project select --project` named a project the active organization does
|
|
14877
|
+
* not have. Distinct from a generic validation failure so the funnel can
|
|
14878
|
+
* tell "the caller guessed a slug" from a malformed request.
|
|
14879
|
+
*/
|
|
14880
|
+
PROJECT_NOT_FOUND: "PROJECT_NOT_FOUND",
|
|
14863
14881
|
CLI_PRODUCT_BINARY_TOO_LARGE: "CLI_PRODUCT_BINARY_TOO_LARGE",
|
|
14864
14882
|
LEARNING_CONTAINER_ID_INVALID: "LEARNING_CONTAINER_ID_INVALID",
|
|
14865
14883
|
LEARNING_PROJECT_ID_INVALID: "LEARNING_PROJECT_ID_INVALID",
|
|
@@ -14891,6 +14909,7 @@ var FRAMEWORK_EMOJI = {
|
|
|
14891
14909
|
"adk-angular": "\u{1F53A}",
|
|
14892
14910
|
a2a: "\u{1F916}",
|
|
14893
14911
|
"aws-strands-py": "\u{1F9EC}",
|
|
14912
|
+
"aws-strands-ts": "\u{1F9EC}",
|
|
14894
14913
|
"microsoft-agent-framework-dotnet": "\u{1F7E6}",
|
|
14895
14914
|
"microsoft-agent-framework-py": "\u{1F7E6}",
|
|
14896
14915
|
"mcp-apps": "\u{1F9E9}",
|
|
@@ -14925,6 +14944,10 @@ var FRAMEWORK_CHOICES = [
|
|
|
14925
14944
|
label: `${FRAMEWORK_EMOJI["aws-strands-py"]} AWS Strands (Python)`,
|
|
14926
14945
|
value: "aws-strands-py"
|
|
14927
14946
|
},
|
|
14947
|
+
{
|
|
14948
|
+
label: `${FRAMEWORK_EMOJI["aws-strands-ts"]} AWS Strands (TypeScript)`,
|
|
14949
|
+
value: "aws-strands-ts"
|
|
14950
|
+
},
|
|
14928
14951
|
{ label: `${FRAMEWORK_EMOJI.adk} ADK`, value: "adk" },
|
|
14929
14952
|
{
|
|
14930
14953
|
label: `${FRAMEWORK_EMOJI["adk-angular"]} Angular + ADK`,
|
|
@@ -15099,6 +15122,11 @@ var FRAMEWORK_TEMPLATES = {
|
|
|
15099
15122
|
TEMPLATE_REPOS["aws-strands-py"],
|
|
15100
15123
|
`\u{1FA81}\u{1F91D}${FRAMEWORK_EMOJI["aws-strands-py"]}`
|
|
15101
15124
|
),
|
|
15125
|
+
"aws-strands-ts": standardTemplate(
|
|
15126
|
+
"aws-strands-ts",
|
|
15127
|
+
TEMPLATE_REPOS["aws-strands-ts"],
|
|
15128
|
+
`\u{1FA81}\u{1F91D}${FRAMEWORK_EMOJI["aws-strands-ts"]}`
|
|
15129
|
+
),
|
|
15102
15130
|
a2a: {
|
|
15103
15131
|
...standardTemplate(
|
|
15104
15132
|
"a2a",
|
|
@@ -15438,7 +15466,7 @@ async function scaffoldStarterForSmoke(input, scaffold = scaffoldProject) {
|
|
|
15438
15466
|
}
|
|
15439
15467
|
}
|
|
15440
15468
|
async function executeStarterSmokeChild(command) {
|
|
15441
|
-
return new Promise((
|
|
15469
|
+
return new Promise((resolve4, reject) => {
|
|
15442
15470
|
execFile(
|
|
15443
15471
|
command.executable,
|
|
15444
15472
|
[...command.args],
|
|
@@ -15452,7 +15480,7 @@ async function executeStarterSmokeChild(command) {
|
|
|
15452
15480
|
reject(error48);
|
|
15453
15481
|
return;
|
|
15454
15482
|
}
|
|
15455
|
-
|
|
15483
|
+
resolve4(stdout);
|
|
15456
15484
|
}
|
|
15457
15485
|
);
|
|
15458
15486
|
});
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Configure AG2
|
|
2
|
-
|
|
3
|
-
If the repository uses AG2, preserve it. Do not recommend it for a new agent. Its starter
|
|
4
|
-
tracks third-party code from a moving branch. Preserve its model vendor and model setup.
|
|
5
|
-
|
|
6
|
-
Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
|
|
7
|
-
store, or request a secret value.
|
|
8
|
-
|
|
9
|
-
## Documentation
|
|
10
|
-
|
|
11
|
-
- https://docs.copilotkit.ai/ag2/quickstart.md
|
|
12
|
-
- https://docs.copilotkit.ai/ag2/inspector.md
|
|
13
|
-
- https://docs.copilotkit.ai/ag2/generative-ui/a2ui/fixed-schema.md
|
|
14
|
-
|
|
15
|
-
Fetch all three pages. Record the selected framework, vendor, model, required credential
|
|
16
|
-
variable names, and these URLs. Do not use remembered CopilotKit instructions.
|
|
17
|
-
|
|
18
|
-
If the pages support the selection, run
|
|
19
|
-
`npx copilotkit@4.8.3 onboard read frontend/plan`.
|
|
20
|
-
|
|
21
|
-
If a page does not load or support the selection, run
|
|
22
|
-
`npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Configure Agno
|
|
2
|
-
|
|
3
|
-
Preserve an existing Agno model setup. Start with OpenAI for a new agent. Offer another
|
|
4
|
-
vendor only after the selected CopilotKit Markdown pages document it. The pages must name
|
|
5
|
-
its credential variables and setup steps.
|
|
6
|
-
|
|
7
|
-
Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
|
|
8
|
-
store, or request a secret value.
|
|
9
|
-
|
|
10
|
-
## Documentation
|
|
11
|
-
|
|
12
|
-
- https://docs.copilotkit.ai/agno/quickstart.md
|
|
13
|
-
- https://docs.copilotkit.ai/agno/inspector.md
|
|
14
|
-
- https://docs.copilotkit.ai/agno/generative-ui/a2ui/fixed-schema.md
|
|
15
|
-
|
|
16
|
-
Fetch all three pages. Record the selected framework, vendor, model, required credential
|
|
17
|
-
variable names, and these URLs. Do not use remembered CopilotKit instructions.
|
|
18
|
-
|
|
19
|
-
If the pages support the selection, run
|
|
20
|
-
`npx copilotkit@4.8.3 onboard read frontend/plan`.
|
|
21
|
-
|
|
22
|
-
If a page does not load or support the selection, run
|
|
23
|
-
`npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Configure CopilotKit built-in agent
|
|
2
|
-
|
|
3
|
-
Preserve an existing built-in agent and its model setup. For a new agent, follow the setup page. Ask the developer to choose the documented model vendor and model. Record the required credential variable names.
|
|
4
|
-
|
|
5
|
-
Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
|
|
6
|
-
store, or request a secret value.
|
|
7
|
-
|
|
8
|
-
## Documentation
|
|
9
|
-
|
|
10
|
-
- https://docs.copilotkit.ai/quickstart.md
|
|
11
|
-
- https://docs.copilotkit.ai/inspector.md
|
|
12
|
-
- https://docs.copilotkit.ai/generative-ui/a2ui/fixed-schema.md
|
|
13
|
-
|
|
14
|
-
Fetch all three pages. Record the selected framework, vendor, model, required credential
|
|
15
|
-
variable names, and these URLs. Do not use remembered CopilotKit instructions.
|
|
16
|
-
|
|
17
|
-
If the pages support the selection, run
|
|
18
|
-
`npx copilotkit@4.8.3 onboard read frontend/plan`.
|
|
19
|
-
|
|
20
|
-
If a page does not load or support the selection, run
|
|
21
|
-
`npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Configure Claude Agent SDK Python
|
|
2
|
-
|
|
3
|
-
Preserve an existing Claude Agent SDK Python setup. This onboarding path supports Anthropic only. Ask the developer to choose the Anthropic model. Record the required credential variable names.
|
|
4
|
-
|
|
5
|
-
Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
|
|
6
|
-
store, or request a secret value.
|
|
7
|
-
|
|
8
|
-
## Documentation
|
|
9
|
-
|
|
10
|
-
- https://docs.copilotkit.ai/claude-sdk-python/quickstart.md
|
|
11
|
-
- https://docs.copilotkit.ai/claude-sdk-python/inspector.md
|
|
12
|
-
- https://docs.copilotkit.ai/claude-sdk-python/generative-ui/a2ui/fixed-schema.md
|
|
13
|
-
|
|
14
|
-
Fetch all three pages. Record the selected framework, vendor, model, required credential
|
|
15
|
-
variable names, and these URLs. Do not use remembered CopilotKit instructions.
|
|
16
|
-
|
|
17
|
-
If the pages support the selection, run
|
|
18
|
-
`npx copilotkit@4.8.3 onboard read frontend/plan`.
|
|
19
|
-
|
|
20
|
-
If a page does not load or support the selection, run
|
|
21
|
-
`npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Configure Claude Agent SDK TypeScript
|
|
2
|
-
|
|
3
|
-
Preserve an existing Claude Agent SDK TypeScript setup. This onboarding path supports Anthropic only. Ask the developer to choose the Anthropic model. Record the required credential variable names.
|
|
4
|
-
|
|
5
|
-
Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
|
|
6
|
-
store, or request a secret value.
|
|
7
|
-
|
|
8
|
-
## Documentation
|
|
9
|
-
|
|
10
|
-
- https://docs.copilotkit.ai/claude-sdk-typescript/quickstart.md
|
|
11
|
-
- https://docs.copilotkit.ai/claude-sdk-typescript/inspector.md
|
|
12
|
-
- https://docs.copilotkit.ai/claude-sdk-typescript/generative-ui/a2ui/fixed-schema.md
|
|
13
|
-
|
|
14
|
-
Fetch all three pages. Record the selected framework, vendor, model, required credential
|
|
15
|
-
variable names, and these URLs. Do not use remembered CopilotKit instructions.
|
|
16
|
-
|
|
17
|
-
If the pages support the selection, run
|
|
18
|
-
`npx copilotkit@4.8.3 onboard read frontend/plan`.
|
|
19
|
-
|
|
20
|
-
If a page does not load or support the selection, run
|
|
21
|
-
`npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Configure CrewAI Flows
|
|
2
|
-
|
|
3
|
-
If the repository uses a CrewAI Enterprise agent, preserve CrewAI Flows. Do not recommend
|
|
4
|
-
it for a new agent. Preserve its remote model setup. Record its credential variable names.
|
|
5
|
-
|
|
6
|
-
Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
|
|
7
|
-
store, or request a secret value.
|
|
8
|
-
|
|
9
|
-
## Documentation
|
|
10
|
-
|
|
11
|
-
- https://docs.copilotkit.ai/crewai-crews/quickstart.md
|
|
12
|
-
- https://docs.copilotkit.ai/crewai-crews/inspector.md
|
|
13
|
-
- https://docs.copilotkit.ai/crewai-crews/generative-ui/a2ui/fixed-schema.md
|
|
14
|
-
|
|
15
|
-
Fetch all three pages. Record the selected framework, vendor, model, required credential
|
|
16
|
-
variable names, and these URLs. Do not use remembered CopilotKit instructions.
|
|
17
|
-
|
|
18
|
-
If the pages support the selection, run
|
|
19
|
-
`npx copilotkit@4.8.3 onboard read frontend/plan`.
|
|
20
|
-
|
|
21
|
-
If a page does not load or support the selection, run
|
|
22
|
-
`npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Configure Deep Agents
|
|
2
|
-
|
|
3
|
-
Preserve an existing Deep Agents setup. Ask the developer to confirm its model vendor and model. Use the documented default for a new setup. Record the required credential variable names.
|
|
4
|
-
|
|
5
|
-
Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
|
|
6
|
-
store, or request a secret value.
|
|
7
|
-
|
|
8
|
-
## Documentation
|
|
9
|
-
|
|
10
|
-
- https://docs.copilotkit.ai/deepagents/quickstart.md
|
|
11
|
-
- https://docs.copilotkit.ai/deepagents/inspector.md
|
|
12
|
-
- https://docs.copilotkit.ai/deepagents/generative-ui/a2ui/fixed-schema.md
|
|
13
|
-
|
|
14
|
-
Fetch all three pages. Record the selected framework, vendor, model, required credential
|
|
15
|
-
variable names, and these URLs. Do not use remembered CopilotKit instructions.
|
|
16
|
-
|
|
17
|
-
If the pages support the selection, run
|
|
18
|
-
`npx copilotkit@4.8.3 onboard read frontend/plan`.
|
|
19
|
-
|
|
20
|
-
If a page does not load or support the selection, run
|
|
21
|
-
`npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Configure LangGraph FastAPI
|
|
2
|
-
|
|
3
|
-
Preserve an existing LangGraph FastAPI model setup. Start with OpenAI for a new agent.
|
|
4
|
-
Offer another vendor only after an exact CopilotKit Markdown page names it. The page must
|
|
5
|
-
name its credential variables and setup steps.
|
|
6
|
-
|
|
7
|
-
Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
|
|
8
|
-
store, or request a secret value.
|
|
9
|
-
|
|
10
|
-
## Documentation
|
|
11
|
-
|
|
12
|
-
- https://docs.copilotkit.ai/langgraph-fastapi/quickstart.md
|
|
13
|
-
- https://docs.copilotkit.ai/langgraph-fastapi/inspector.md
|
|
14
|
-
- https://docs.copilotkit.ai/langgraph-fastapi/generative-ui/a2ui/fixed-schema.md
|
|
15
|
-
|
|
16
|
-
Fetch all three pages. Record the selected framework, vendor, model, required credential
|
|
17
|
-
variable names, and these URLs. Do not use remembered CopilotKit instructions.
|
|
18
|
-
|
|
19
|
-
If the pages support the selection, run
|
|
20
|
-
`npx copilotkit@4.8.3 onboard read frontend/plan`.
|
|
21
|
-
|
|
22
|
-
If a page does not load or support the selection, run
|
|
23
|
-
`npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Configure LlamaIndex
|
|
2
|
-
|
|
3
|
-
Preserve an existing LlamaIndex model setup. Start with OpenAI for a new agent. Offer
|
|
4
|
-
another vendor only after the selected CopilotKit Markdown pages document it. The pages must
|
|
5
|
-
name its credential variables and setup steps.
|
|
6
|
-
|
|
7
|
-
Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
|
|
8
|
-
store, or request a secret value.
|
|
9
|
-
|
|
10
|
-
## Documentation
|
|
11
|
-
|
|
12
|
-
- https://docs.copilotkit.ai/llamaindex/quickstart.md
|
|
13
|
-
- https://docs.copilotkit.ai/llamaindex/inspector.md
|
|
14
|
-
- https://docs.copilotkit.ai/llamaindex/generative-ui/a2ui/fixed-schema.md
|
|
15
|
-
|
|
16
|
-
Fetch all three pages. Record the selected framework, vendor, model, required credential
|
|
17
|
-
variable names, and these URLs. Do not use remembered CopilotKit instructions.
|
|
18
|
-
|
|
19
|
-
If the pages support the selection, run
|
|
20
|
-
`npx copilotkit@4.8.3 onboard read frontend/plan`.
|
|
21
|
-
|
|
22
|
-
If a page does not load or support the selection, run
|
|
23
|
-
`npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Configure Microsoft Agent Framework Harness .NET
|
|
2
|
-
|
|
3
|
-
If the repository uses this framework, preserve it. Preserve its model vendor and model
|
|
4
|
-
setup. Record the required credential variable names from the selected CopilotKit pages.
|
|
5
|
-
|
|
6
|
-
Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
|
|
7
|
-
store, or request a secret value.
|
|
8
|
-
|
|
9
|
-
## Documentation
|
|
10
|
-
|
|
11
|
-
- https://docs.copilotkit.ai/ms-agent-harness-dotnet/quickstart.md
|
|
12
|
-
- https://docs.copilotkit.ai/ms-agent-harness-dotnet/inspector.md
|
|
13
|
-
- https://docs.copilotkit.ai/ms-agent-harness-dotnet/generative-ui/a2ui/fixed-schema.md
|
|
14
|
-
|
|
15
|
-
Fetch all three pages. Record the selected framework, vendor, model, required credential
|
|
16
|
-
variable names, and these URLs. Do not use remembered CopilotKit instructions.
|
|
17
|
-
|
|
18
|
-
If the pages support the selection, run
|
|
19
|
-
`npx copilotkit@4.8.3 onboard read frontend/plan`.
|
|
20
|
-
|
|
21
|
-
If a page does not load or support the selection, run
|
|
22
|
-
`npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
|