@mastra/auth-workos 1.6.5-alpha.1 → 1.6.6-alpha.0
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/_types/@internal_auth/dist/ee/interfaces/permissions.generated.d.ts +9 -1
- package/dist/_types/@internal_auth/dist/provider/index.d.ts +1 -1
- package/dist/_types/@internal_auth/package.json +1 -0
- package/dist/auth-provider.d.ts +3 -3
- package/dist/auth-provider.d.ts.map +1 -1
- package/dist/fga-provider.d.ts +1 -1
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/rbac-provider.d.ts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +8 -8
|
@@ -158,6 +158,8 @@ export declare const PERMISSION_PATTERNS: {
|
|
|
158
158
|
readonly 'datasets:write': 'datasets:write';
|
|
159
159
|
/** View embedders */
|
|
160
160
|
readonly 'embedders:read': 'embedders:read';
|
|
161
|
+
/** Delete experiments */
|
|
162
|
+
readonly 'experiments:delete': 'experiments:delete';
|
|
161
163
|
/** View experiments */
|
|
162
164
|
readonly 'experiments:read': 'experiments:read';
|
|
163
165
|
/** View infrastructure */
|
|
@@ -178,6 +180,8 @@ export declare const PERMISSION_PATTERNS: {
|
|
|
178
180
|
readonly 'memory:read': 'memory:read';
|
|
179
181
|
/** Create and modify memory and threads */
|
|
180
182
|
readonly 'memory:write': 'memory:write';
|
|
183
|
+
/** Delete traces and spans */
|
|
184
|
+
readonly 'observability:delete': 'observability:delete';
|
|
181
185
|
/** View traces and spans */
|
|
182
186
|
readonly 'observability:read': 'observability:read';
|
|
183
187
|
/** Create and modify traces and spans */
|
|
@@ -311,7 +315,7 @@ export type PermissionPattern = keyof typeof PERMISSION_PATTERNS;
|
|
|
311
315
|
/**
|
|
312
316
|
* All valid resource:action permission combinations (excludes wildcards).
|
|
313
317
|
*/
|
|
314
|
-
export declare const PERMISSIONS: readonly ['a2a:read', 'a2a:write', 'agent-builder:execute', 'agent-builder:read', 'agent-builder:write', 'agent-controller:execute', 'agent-controller:read', 'agents:create', 'agents:delete', 'agents:execute', 'agents:read', 'agents:write', 'auth:read', 'background-tasks:read', 'channels:read', 'channels:write', 'datasets:delete', 'datasets:execute', 'datasets:read', 'datasets:write', 'embedders:read', 'experiments:read', 'infrastructure:read', 'logs:read', 'mcp:execute', 'mcp:read', 'mcp:write', 'memory:delete', 'memory:execute', 'memory:read', 'memory:write', 'observability:read', 'observability:write', 'processor-providers:read', 'processors:execute', 'processors:read', 'schedules:delete', 'schedules:execute', 'schedules:read', 'schedules:write', 'scores:read', 'scores:write', 'stored-agents:delete', 'stored-agents:publish', 'stored-agents:read', 'stored-agents:write', 'stored-mcp-clients:delete', 'stored-mcp-clients:publish', 'stored-mcp-clients:read', 'stored-mcp-clients:write', 'stored-prompt-blocks:delete', 'stored-prompt-blocks:publish', 'stored-prompt-blocks:read', 'stored-prompt-blocks:write', 'stored-scorers:delete', 'stored-scorers:publish', 'stored-scorers:read', 'stored-scorers:write', 'stored-skills:delete', 'stored-skills:publish', 'stored-skills:read', 'stored-skills:write', 'stored-workflows:read', 'stored-workflows:write', 'stored-workspaces:delete', 'stored-workspaces:read', 'stored-workspaces:write', 'system:read', 'tool-providers:delete', 'tool-providers:read', 'tool-providers:write', 'tools:execute', 'tools:read', 'vector:delete', 'vector:execute', 'vector:read', 'vector:write', 'vectors:read', 'workflows:delete', 'workflows:execute', 'workflows:read', 'workflows:write', 'workspaces:delete', 'workspaces:read', 'workspaces:write'];
|
|
318
|
+
export declare const PERMISSIONS: readonly ['a2a:read', 'a2a:write', 'agent-builder:execute', 'agent-builder:read', 'agent-builder:write', 'agent-controller:execute', 'agent-controller:read', 'agents:create', 'agents:delete', 'agents:execute', 'agents:read', 'agents:write', 'auth:read', 'background-tasks:read', 'channels:read', 'channels:write', 'datasets:delete', 'datasets:execute', 'datasets:read', 'datasets:write', 'embedders:read', 'experiments:delete', 'experiments:read', 'infrastructure:read', 'logs:read', 'mcp:execute', 'mcp:read', 'mcp:write', 'memory:delete', 'memory:execute', 'memory:read', 'memory:write', 'observability:delete', 'observability:read', 'observability:write', 'processor-providers:read', 'processors:execute', 'processors:read', 'schedules:delete', 'schedules:execute', 'schedules:read', 'schedules:write', 'scores:read', 'scores:write', 'stored-agents:delete', 'stored-agents:publish', 'stored-agents:read', 'stored-agents:write', 'stored-mcp-clients:delete', 'stored-mcp-clients:publish', 'stored-mcp-clients:read', 'stored-mcp-clients:write', 'stored-prompt-blocks:delete', 'stored-prompt-blocks:publish', 'stored-prompt-blocks:read', 'stored-prompt-blocks:write', 'stored-scorers:delete', 'stored-scorers:publish', 'stored-scorers:read', 'stored-scorers:write', 'stored-skills:delete', 'stored-skills:publish', 'stored-skills:read', 'stored-skills:write', 'stored-workflows:read', 'stored-workflows:write', 'stored-workspaces:delete', 'stored-workspaces:read', 'stored-workspaces:write', 'system:read', 'tool-providers:delete', 'tool-providers:read', 'tool-providers:write', 'tools:execute', 'tools:read', 'vector:delete', 'vector:execute', 'vector:read', 'vector:write', 'vectors:read', 'workflows:delete', 'workflows:execute', 'workflows:read', 'workflows:write', 'workspaces:delete', 'workspaces:read', 'workspaces:write'];
|
|
315
319
|
/**
|
|
316
320
|
* Specific permission type (e.g., 'agents:read', 'workflows:execute').
|
|
317
321
|
*/
|
|
@@ -365,6 +369,8 @@ export declare const MastraFGAPermissions: {
|
|
|
365
369
|
readonly DATASETS_WRITE: 'datasets:write';
|
|
366
370
|
/** View embedders */
|
|
367
371
|
readonly EMBEDDERS_READ: 'embedders:read';
|
|
372
|
+
/** Delete experiments */
|
|
373
|
+
readonly EXPERIMENTS_DELETE: 'experiments:delete';
|
|
368
374
|
/** View experiments */
|
|
369
375
|
readonly EXPERIMENTS_READ: 'experiments:read';
|
|
370
376
|
/** View infrastructure */
|
|
@@ -385,6 +391,8 @@ export declare const MastraFGAPermissions: {
|
|
|
385
391
|
readonly MEMORY_READ: 'memory:read';
|
|
386
392
|
/** Create and modify memory and threads */
|
|
387
393
|
readonly MEMORY_WRITE: 'memory:write';
|
|
394
|
+
/** Delete traces and spans */
|
|
395
|
+
readonly OBSERVABILITY_DELETE: 'observability:delete';
|
|
388
396
|
/** View traces and spans */
|
|
389
397
|
readonly OBSERVABILITY_READ: 'observability:read';
|
|
390
398
|
/** Create and modify traces and spans */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MastraBase } from '../_types/@internal_core/dist/base/index.
|
|
1
|
+
import { MastraBase } from '../_types/@internal_core/dist/base/index.js';
|
|
2
2
|
import type { CredentialsResult, IAuthHttpHandler, IAuthInit, ICredentialsProvider, IOrganizationsProvider, ISSOProvider, ISessionProvider, IUserProvider, Session, SSOCallbackResult, SSOLoginConfig, User } from '..';
|
|
3
3
|
import type { AuthorizeUserFn, MastraAuthConfig, MastraAuthRequest } from '../types/index.js';
|
|
4
4
|
export interface MastraAuthProviderOptions<TUser = unknown> {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
package/dist/auth-provider.d.ts
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* Uses @workos/authkit-session for session management with encrypted
|
|
5
5
|
* cookie-based sessions that persist across server restarts.
|
|
6
6
|
*/
|
|
7
|
-
import type { AuthInitContext, IAuthInit, IOrganizationsProvider, IUserProvider, ISSOProvider, ISessionProvider, Session, SSOCallbackResult, SSOLoginConfig } from './_types/@internal_auth/dist/index.
|
|
8
|
-
import type { EEUser } from './_types/@internal_auth/dist/ee/index.
|
|
9
|
-
import { MastraAuthProvider } from './_types/@internal_auth/dist/provider/index.
|
|
7
|
+
import type { AuthInitContext, IAuthInit, IOrganizationsProvider, IUserProvider, ISSOProvider, ISessionProvider, Session, SSOCallbackResult, SSOLoginConfig } from './_types/@internal_auth/dist/index.js';
|
|
8
|
+
import type { EEUser } from './_types/@internal_auth/dist/ee/index.js';
|
|
9
|
+
import { MastraAuthProvider } from './_types/@internal_auth/dist/provider/index.js';
|
|
10
10
|
import { AuthService } from '@workos/authkit-session';
|
|
11
11
|
import type { AuthKitConfig } from '@workos/authkit-session';
|
|
12
12
|
import { WorkOS } from '@workos-inc/node';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-provider.d.ts","sourceRoot":"","sources":["../src/auth-provider.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,eAAe,EACf,SAAS,EACT,sBAAsB,EACtB,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,OAAO,EACP,iBAAiB,EACjB,cAAc,EACf,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,EAAE,WAAW,EAAqB,MAAM,yBAAyB,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,KAAK,eAAe,GAAG;IACrB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,KAAK,iBAAiB,GAAG,OAAO,GAAG,eAAe,CAAC;AAWnD,OAAO,KAAK,EAAE,UAAU,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAsCtE;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,gBACX,SAAQ,kBAAkB,CAAC,UAAU,CACrC,YAAW,aAAa,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC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ider.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @license Mastra Enterprise License - see ee/LICENSE
|
|
8
8
|
*/
|
|
9
|
-
import type { IFGAManager, FGACheckParams, FGAResource, FGACreateResourceParams, FGAUpdateResourceParams, FGADeleteResourceParams, FGAListResourcesOptions, FGARoleAssignment, FGARoleParams, FGAListRoleAssignmentsOptions, MastraFGAPermissionInput } from './_types/@internal_auth/dist/ee/index.
|
|
9
|
+
import type { IFGAManager, FGACheckParams, FGAResource, FGACreateResourceParams, FGAUpdateResourceParams, FGADeleteResourceParams, FGAListResourcesOptions, FGARoleAssignment, FGARoleParams, FGAListRoleAssignmentsOptions, MastraFGAPermissionInput } from './_types/@internal_auth/dist/ee/index.js';
|
|
10
10
|
import type { MastraFGAWorkosOptions, WorkOSUser } from './types.js';
|
|
11
11
|
export declare class WorkOSFGAResourceNotFoundError extends Error {
|
|
12
12
|
readonly status = 404;
|
package/dist/index.cjs
CHANGED
|
@@ -460,13 +460,15 @@ var MastraAuthWorkos = class extends MastraAuthProvider {
|
|
|
460
460
|
const { auth } = webRequest ? await this.authService.withAuth(webRequest) : { auth: { user: null } };
|
|
461
461
|
if (auth.user) {
|
|
462
462
|
let memberships;
|
|
463
|
+
let organizationId = auth.organizationId;
|
|
463
464
|
if (this.fetchMemberships) try {
|
|
464
465
|
memberships = await this.getMemberships(auth.user.id);
|
|
466
|
+
organizationId ??= this.getSingleMembershipOrganizationId(memberships);
|
|
465
467
|
} catch {}
|
|
466
468
|
return {
|
|
467
469
|
...mapWorkOSUserToEEUser(auth.user),
|
|
468
470
|
workosId: auth.user.id,
|
|
469
|
-
organizationId
|
|
471
|
+
organizationId,
|
|
470
472
|
memberships
|
|
471
473
|
};
|
|
472
474
|
}
|
|
@@ -938,7 +940,7 @@ var MastraAuthWorkos = class extends MastraAuthProvider {
|
|
|
938
940
|
}
|
|
939
941
|
};
|
|
940
942
|
//#endregion
|
|
941
|
-
//#region ../../packages/_internals/auth/dist/ee-
|
|
943
|
+
//#region ../../packages/_internals/auth/dist/ee-btY6vXIW.js
|
|
942
944
|
/**
|
|
943
945
|
* FGA enforcement utility for checking fine-grained authorization.
|
|
944
946
|
*
|
|
@@ -974,6 +976,7 @@ const RESOURCE_EXPANSIONS = { stored: [
|
|
|
974
976
|
"stored-prompt-blocks",
|
|
975
977
|
"stored-scorers",
|
|
976
978
|
"stored-skills",
|
|
979
|
+
"stored-workflows",
|
|
977
980
|
"stored-workspaces"
|
|
978
981
|
] };
|
|
979
982
|
/**
|