Repository navigation
feat(portal): add an Ask AI copilot chat and a portal copilot sync command
#438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
de67589
7ca4d20
7d039c5
08dffb5
48c4d17
1e77599
5c73989
9f1927a
635b2f1
05a04d5
dc23931
82b26e7
13233b0
b127416
4585be3
d1a2b82
08c2977
a647b1a
62a5aac
881a8e1
fe50480
5a28f0e
53d0a79
d007288
a2ce848
26cf47c
cd79ed3
bc672e6
5e9293b
987ef6f
be64acd
bacb58c
b50d29a
861d0ea
efad9fd
2cc69c4
27c8d4b
1af59d4
cc8bffc
984940b
6c3fcdf
15e6850
c474169
640be81
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,11 +54,13 @@ | |
| "test": "tsx node_modules/mocha/bin/_mocha --forbid-only \"test/**/*.test.ts\" --timeout 99999" | ||
| }, | ||
| "dependencies": { | ||
| "@ai-sdk/react": "4.0.131", | ||
| "@apimatic/sdk": "0.2.0-alpha.10", | ||
| "@clack/core": "1.0.0-alpha.1", | ||
| "@clack/prompts": "1.0.0-alpha.1", | ||
| "@fontsource-variable/geist": "5.3.0", | ||
| "@fontsource-variable/geist-mono": "5.3.0", | ||
| "@fumadocs/ai-chat": "0.1.0", | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| "@fumadocs/api-docs": "0.2.8", | ||
| "@oclif/core": "^4.2.8", | ||
| "@oclif/plugin-autocomplete": "^3.2.24", | ||
|
|
@@ -70,6 +72,7 @@ | |
| "@tanstack/start-static-server-functions": "1.167.33", | ||
| "@vitejs/plugin-react": "6.1.1", | ||
| "adm-zip": "^0.5.17", | ||
| "ai": "7.0.128", | ||
| "ansis": "^3.17.0", | ||
| "async-mutex": "^0.5.0", | ||
| "axios": "^1.8.1", | ||
|
|
@@ -177,6 +180,9 @@ | |
| "portal": { | ||
| "description": "Build and serve an API Documentation portal for your APIs." | ||
| }, | ||
| "portal:copilot": { | ||
| "description": "Keep your portal's Ask AI chat in sync with its pages." | ||
| }, | ||
| "sdk": { | ||
| "description": "Generate and publish SDKs for your APIs in multiple languages." | ||
| }, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Readers see "Ask AI", but authors type
copilot. Worth settling the name before it ships in the schema.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, I’ve kept
copilotin the author-facing setting and command:ai.copilotandapimatic portal copilot sync. Readers will see “Ask AI.”The name can still change before release. Renaming the setting, command, schema, and messages would affect around 13 files. The service path (
__copilot/) and header (X-Copilot-Key) would remain unchanged.@saeedjamshaid bhai, feel free to share your naming suggestions here as well.