deepspace 0.28.1 → 0.28.2
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/CHANGELOG.md +37 -0
- package/dist/{chunk-PVEUIQN4.js → chunk-DMUR67NG.js} +2 -2
- package/dist/{chunk-PVEUIQN4.js.map → chunk-DMUR67NG.js.map} +1 -1
- package/dist/cli.js +81 -39
- package/dist/cli.js.map +1 -1
- package/dist/documentation-client-core.js +1 -1
- package/dist/documentation-default-renderer.cjs +1 -1
- package/dist/documentation-react.js +1 -1
- package/dist/documentation-runtime.js +1 -1
- package/dist/documentation-server-core.js +1 -1
- package/dist/documentation.js +1 -1
- package/dist/documentation.js.map +1 -1
- package/dist/server.js +6 -1
- package/dist/server.js.map +1 -1
- package/dist/worker.js +63 -9
- package/dist/worker.js.map +1 -1
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -5144,7 +5144,12 @@ async function executeTool(ctx, toolName, params, userId, userRole, skipUserRbac
|
|
|
5144
5144
|
case "user.current": {
|
|
5145
5145
|
if (!userId) return { success: false, error: "No userId provided" };
|
|
5146
5146
|
const user = getUser(ctx.sql, userId, ctx.schemaRegistry);
|
|
5147
|
-
if (!user)
|
|
5147
|
+
if (!user) {
|
|
5148
|
+
return {
|
|
5149
|
+
success: false,
|
|
5150
|
+
error: "No users row for this identity yet \u2014 it is created by signing in to the app in a browser. Tool access does not require one, so other tools keep working."
|
|
5151
|
+
};
|
|
5152
|
+
}
|
|
5148
5153
|
return { success: true, data: { user } };
|
|
5149
5154
|
}
|
|
5150
5155
|
// The same roster the socket's `user.list` returns, for the same caller.
|