newmark-agent 0.5.0 → 0.5.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.
- package/dist/server.js +12 -0
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -1092,6 +1092,18 @@ async function handleApi(req, res, body) {
|
|
|
1092
1092
|
mobileJson(res, { workspace: { id: ws.id, name: ws.name, path: ws.path, isInternal: ws.isInternal }, conversations });
|
|
1093
1093
|
return;
|
|
1094
1094
|
}
|
|
1095
|
+
case '/api/mobile/provider-catalog-export': {
|
|
1096
|
+
if (req.method !== 'POST') {
|
|
1097
|
+
mobileJson(res, { error: 'Method not allowed' }, 405);
|
|
1098
|
+
return;
|
|
1099
|
+
}
|
|
1100
|
+
// This is intentionally separate from mobile state: normal remote UI
|
|
1101
|
+
// projection stays redacted, while an explicit paired-device import
|
|
1102
|
+
// can migrate a usable local provider configuration.
|
|
1103
|
+
res.setHeader('Cache-Control', 'no-store');
|
|
1104
|
+
mobileJson(res, { providers: agent.config.providers() });
|
|
1105
|
+
return;
|
|
1106
|
+
}
|
|
1095
1107
|
case '/api/mobile/right-sidebar-state': {
|
|
1096
1108
|
const workspaceId = url.searchParams.get('workspaceId') || '';
|
|
1097
1109
|
const conversationId = url.searchParams.get('conversationId') || '';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "newmark-agent",
|
|
3
3
|
"productName": "Newmark Agent",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.1",
|
|
5
5
|
"description": "Newmark Agent — Portable AI coding agent with rich GUI and CLI (TypeScript)",
|
|
6
6
|
"homepage": "https://github.com/positer/Newmark-Agent",
|
|
7
7
|
"repository": {
|