pilotswarm 0.5.14 → 0.5.16
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/mcp/README.md +2 -2
- package/mcp/dist/src/server.d.ts.map +1 -1
- package/mcp/dist/src/server.js +5 -1
- package/mcp/dist/src/server.js.map +1 -1
- package/mcp/dist/src/tools/capabilities.d.ts +1 -0
- package/mcp/dist/src/tools/capabilities.d.ts.map +1 -1
- package/mcp/dist/src/tools/capabilities.js +5 -0
- package/mcp/dist/src/tools/capabilities.js.map +1 -1
- package/mcp/dist/src/tools/groups.d.ts +5 -4
- package/mcp/dist/src/tools/groups.d.ts.map +1 -1
- package/mcp/dist/src/tools/groups.js +43 -20
- package/mcp/dist/src/tools/groups.js.map +1 -1
- package/mcp/dist/src/tools/sessions.d.ts.map +1 -1
- package/mcp/dist/src/tools/sessions.js +4 -2
- package/mcp/dist/src/tools/sessions.js.map +1 -1
- package/package.json +2 -2
- package/tui/plugins/.mcp.json +7 -1
- package/tui/plugins/agents/deepwiki.agent.md +44 -0
- package/tui/src/node-sdk-transport.js +61 -8
- package/ui/core/src/controller.js +264 -40
- package/ui/core/src/formatting.js +25 -0
- package/ui/core/src/reducer.js +117 -8
- package/ui/core/src/selectors.js +76 -3
- package/ui/core/src/state.js +3 -0
- package/ui/react/src/web-app.js +363 -127
- package/web/api/router.js +3 -1
- package/web/dist/assets/index-Df1mD9p0.js +24 -0
- package/web/dist/assets/index-whIft7M6.css +1 -0
- package/web/dist/assets/pilotswarm-DR5j-z8y.js +90 -0
- package/web/dist/index.html +3 -3
- package/web/runtime.js +114 -42
- package/web/dist/assets/index-BnxC8cNG.js +0 -24
- package/web/dist/assets/index-Bx6KHIaj.css +0 -1
- package/web/dist/assets/pilotswarm-NE7H63ha.js +0 -90
package/web/api/router.js
CHANGED
|
@@ -18,6 +18,8 @@ import { getPublicAuthContext } from "../auth/authz/engine.js";
|
|
|
18
18
|
|
|
19
19
|
const ERROR_STATUS_BY_CODE = {
|
|
20
20
|
INVALID_REQUEST: 400,
|
|
21
|
+
// GitHub Copilot model requested without a worker or per-user key.
|
|
22
|
+
GHCP_KEY_MISSING: 400,
|
|
21
23
|
PORTAL_AUTH_REQUIRED: 401,
|
|
22
24
|
UNAUTHORIZED: 401,
|
|
23
25
|
FORBIDDEN: 403,
|
|
@@ -32,7 +34,7 @@ const ERROR_STATUS_BY_CODE = {
|
|
|
32
34
|
// messages. These are client errors (their message is the whole value), so
|
|
33
35
|
// they keep their text; everything else that reaches 500 is treated as an
|
|
34
36
|
// unexpected fault and gets a generic message.
|
|
35
|
-
const CLIENT_ERROR_MESSAGE = /must be|is required|cannot be|Unsupported|is not started|terminal orchestration|cannot accept new messages|not found|already|Unknown model|does not support reasoning effort/i;
|
|
37
|
+
const CLIENT_ERROR_MESSAGE = /must be|is required|cannot be|Unsupported|is not started|terminal orchestration|cannot accept new messages|not found|already|Unknown model|does not support reasoning effort|GitHub Copilot key/i;
|
|
36
38
|
|
|
37
39
|
function statusForError(error) {
|
|
38
40
|
const byCode = ERROR_STATUS_BY_CODE[error?.code];
|