@mastra/auth-studio 1.3.4-alpha.0 → 1.3.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/auth-studio
|
|
2
2
|
|
|
3
|
+
## 1.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed reading request headers from Express-style plain header objects so cookie-based auth providers no longer throw and fail with a misleading 401. ([#21261](https://github.com/mastra-ai/mastra/pull/21261))
|
|
8
|
+
|
|
9
|
+
Related to https://github.com/mastra-ai/mastra/issues/21253
|
|
10
|
+
|
|
3
11
|
## 1.3.4-alpha.0
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -35,6 +35,17 @@ export type ActorSignal = true | {
|
|
|
35
35
|
permissions?: MastraFGAPermissionInput[];
|
|
36
36
|
/** Additional provider-specific scope for the actor (e.g. tenant, environment). */
|
|
37
37
|
scope?: Record<string, string>;
|
|
38
|
+
/**
|
|
39
|
+
* Opt in to propagating this actor into the agent/tool calls the framework
|
|
40
|
+
* makes for declarative workflow steps (`.then(agent)` / `.then(tool)`)
|
|
41
|
+
* within this run's own execution tree.
|
|
42
|
+
*
|
|
43
|
+
* Never implicit, and ignored by authorization itself. Custom step
|
|
44
|
+
* `execute` closures are not covered — they already receive `actor` on the
|
|
45
|
+
* step context and must pass it explicitly. The `true` shorthand cannot
|
|
46
|
+
* opt in; use this object form.
|
|
47
|
+
*/
|
|
48
|
+
propagate?: boolean;
|
|
38
49
|
};
|
|
39
50
|
/**
|
|
40
51
|
* Optional context for an authorization check.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/auth-studio",
|
|
3
|
-
"version": "1.3.4
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "Mastra Studio Auth integration — proxies authentication through Mastra shared API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"tsdown": "0.22.9",
|
|
28
28
|
"typescript": "^6.0.3",
|
|
29
29
|
"vitest": "4.1.10",
|
|
30
|
-
"@internal/auth": "0.0.
|
|
31
|
-
"@internal/
|
|
32
|
-
"@internal/
|
|
30
|
+
"@internal/auth": "0.0.14",
|
|
31
|
+
"@internal/types-builder": "0.0.99",
|
|
32
|
+
"@internal/lint": "0.0.124"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"dist",
|