mastra 1.40.0-alpha.6 → 1.40.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/commands/api/factory-route-metadata.generated.d.ts +115 -12
- package/dist/commands/api/factory-route-metadata.generated.d.ts.map +1 -1
- package/dist/commands/api/index.d.ts +20 -6
- package/dist/commands/api/index.d.ts.map +1 -1
- package/dist/commands/api/route-metadata.generated.d.ts +2 -2
- package/dist/commands/api/route-metadata.generated.d.ts.map +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +4 -4
- package/dist/factory/assets/BoardConfigPage-DrCdd_2V.js +1 -0
- package/dist/factory/assets/{BoardIcons-RydpbVA4.js → BoardIcons-Dl09bTFD.js} +1 -1
- package/dist/factory/assets/{BoardIntakePage-OOPdyfge.js → BoardIntakePage-DMBi-b3G.js} +1 -1
- package/dist/factory/assets/BoardRulesPage-9sB-UCQh.js +1 -0
- package/dist/factory/assets/{Breadcrumb.es-Caa0ta4Z.js → Breadcrumb.es-C-OUf9fG.js} +1 -1
- package/dist/factory/assets/CardDraftPage-DgW17bAo.js +1 -0
- package/dist/factory/assets/CardStageBar-Ds3fg0oY.js +1 -0
- package/dist/factory/assets/ConditionRows-EFziHxkU.js +1 -0
- package/dist/factory/assets/CreateFactoryPage-CCBRJtu9.js +1 -0
- package/dist/factory/assets/FactorySkillEditorDialog-rqcN4Lte.js +2 -0
- package/dist/factory/assets/FactorySkillsPage-CcbqGs5t.js +1 -0
- package/dist/factory/assets/{IconBrain.es-a7jfU5wQ.js → IconBrain.es-B2dyR6zl.js} +3 -3
- package/dist/factory/assets/{IconFormCircle.es-4bcuYhrK.js → IconFormCircle.es-By9owScM.js} +1 -1
- package/dist/factory/assets/IconPlusMedium.es-BtoCFPCD.js +1 -0
- package/dist/factory/assets/InputNumber.es-DRYBWKeD.js +1 -0
- package/dist/factory/assets/{IntakeTesterDialog-CDbp1koV.js → IntakeTesterDialog-BBLz-WP5.js} +1 -1
- package/dist/factory/assets/KnowledgePage-Tqc1tv8-.js +13 -0
- package/dist/factory/assets/{MastraGatewayBilling-C3-b6K5Q.js → MastraGatewayBilling-r-9D2-JX.js} +1 -1
- package/dist/factory/assets/{NewBoardPage-D6G2_ESh.js → NewBoardPage-Cm9kCJeB.js} +1 -1
- package/dist/factory/assets/NewPage-DT1N7-0q.js +1 -0
- package/dist/factory/assets/{OnboardingPage-DMNuGkH2.js → OnboardingPage-DUnLGvlt.js} +1 -1
- package/dist/factory/assets/{RulesPage-I60UkTj3.js → RulesPage-D6GP600o.js} +1 -1
- package/dist/factory/assets/{SessionSharingPopover-BDPBhM_W.js → SessionSharingPopover-C_TkFujd.js} +1 -1
- package/dist/factory/assets/SettingsPage-BznQCcMV.js +3 -0
- package/dist/factory/assets/{SettingsSubsection-BTekyheK.js → SettingsSubsection-C2fAPAzC.js} +1 -1
- package/dist/factory/assets/{SlackConnectionPage-F7MTbug7.js → SlackConnectionPage-Dp87noGZ.js} +1 -1
- package/dist/factory/assets/SlackIcon.es-Cv7DDqNk.js +1 -0
- package/dist/factory/assets/{StackedDiffs-CkljR-oJ.css → StackedDiffs-CWB1ifL_.css} +1 -1
- package/dist/factory/assets/{StackedDiffs-CIGQW2T9.js → StackedDiffs-YCj-4sk5.js} +3 -3
- package/dist/factory/assets/{ThinkingLevel.es-DuiPP_Wr.js → ThinkingLevel.es-BqkSfVEb.js} +1 -1
- package/dist/factory/assets/ThreadPage-D8OHUgj0.js +4 -0
- package/dist/factory/assets/{Transcript-9K1Flr3R.js → Transcript-Doeh0b0A.js} +14 -14
- package/dist/factory/assets/{Tree-B90XgTY4-D6BbhzdO.js → Tree-B90XgTY4-CQ1IfQAY.js} +1 -1
- package/dist/factory/assets/board-events-eM9UCRV7.js +1 -0
- package/dist/factory/assets/{boardCardState-BTP1-1PJ.js → boardCardState-VSEyKo7t.js} +1 -1
- package/dist/factory/assets/conditionFields-CZ3o2Z7y.js +1 -0
- package/dist/factory/assets/index-BdgSQitL.js +91 -0
- package/dist/factory/assets/index-BqnDo1fJ.css +1 -0
- package/dist/factory/assets/{provider-credential-CNLMjKeF.js → provider-credential-CjKKQDMe.js} +1 -1
- package/dist/factory/assets/settings-DIrzLcgE-Dbj7eE0R.js +1 -0
- package/dist/factory/assets/use-providers-DzG0DbJ3.js +1 -0
- package/dist/factory/assets/useDraftModelGuards-B-60Yg46.js +1 -0
- package/dist/factory/assets/useLinearData-DGsFutzP.js +1 -0
- package/dist/factory/assets/workspaces-_EYMTTLv.js +2 -0
- package/dist/factory/index.html +12 -12
- package/dist/index.js +105 -13
- package/dist/index.js.map +1 -1
- package/dist/studio/assets/{CodeDiff.es-BsZwgGTd.js → CodeDiff.es-4MSY_kim.js} +1 -1
- package/dist/studio/assets/{index-CSQ0Ltwq.js → index-p2n8v5hx.js} +2 -2
- package/dist/studio/assets/{main-CgYZzTbo.js → main-6HLCoJFT.js} +250 -250
- package/dist/studio/assets/style-DadF3DOw.css +3 -0
- package/dist/studio/index.html +2 -2
- package/package.json +6 -6
- package/dist/factory/assets/BoardConfigPage-C59a2c_7.js +0 -1
- package/dist/factory/assets/BoardRulesPage-DBH9Hx80.js +0 -1
- package/dist/factory/assets/CardDraftPage-DjBB918q.js +0 -1
- package/dist/factory/assets/CardStageBar-DWV6yjSW.js +0 -1
- package/dist/factory/assets/ConditionRows-DUjWJRNa.js +0 -1
- package/dist/factory/assets/CreateFactoryPage-BNgW6jWY.js +0 -1
- package/dist/factory/assets/FactorySkillEditorDialog-33yz9UNC.js +0 -2
- package/dist/factory/assets/FactorySkillsPage-_8CmueBy.js +0 -1
- package/dist/factory/assets/InputNumber.es-BzEgsntE.js +0 -1
- package/dist/factory/assets/KnowledgePage-C50Ks8JU.js +0 -13
- package/dist/factory/assets/NewPage-DVtL-8xt.js +0 -1
- package/dist/factory/assets/SettingsPage-B_3esjm-.js +0 -3
- package/dist/factory/assets/SlackIcon.es-4iabNI5s.js +0 -1
- package/dist/factory/assets/ThreadPage-CKXuBQQW.js +0 -4
- package/dist/factory/assets/board-events-BVnaMaTS.js +0 -1
- package/dist/factory/assets/cardStageBar-BqHQPxtk.js +0 -1
- package/dist/factory/assets/conditionFields-CBXR0ZAG.js +0 -1
- package/dist/factory/assets/index-BRPMzPXy.css +0 -1
- package/dist/factory/assets/index-CqME59pn.js +0 -91
- package/dist/factory/assets/settings-DmdIP3xB-Ivg55Tc-.js +0 -1
- package/dist/factory/assets/use-providers-DPSMm1ii.js +0 -1
- package/dist/factory/assets/useDraftModelGuards-oEIWfjNg.js +0 -1
- package/dist/factory/assets/useLinearData-sU1pDUFJ.js +0 -1
- package/dist/factory/assets/workspaces-DDVLmBW0.js +0 -2
- package/dist/studio/assets/style-oyhxyKXm.css +0 -3
|
@@ -59,7 +59,7 @@ export declare const FACTORY_API_ROUTE_METADATA: {
|
|
|
59
59
|
readonly contractKey: "skillOverrideRevert";
|
|
60
60
|
readonly method: "DELETE";
|
|
61
61
|
readonly path: "/web/factory/projects/:id/skills/:name";
|
|
62
|
-
readonly description: "Revert a project's edited Factory skill to its original SKILL.md";
|
|
62
|
+
readonly description: "Revert a project's edited Factory skill to its original SKILL.md, or delete a skill the project created";
|
|
63
63
|
readonly pathParams: readonly ["id", "name"];
|
|
64
64
|
readonly queryParams: readonly [];
|
|
65
65
|
readonly bodyParams: readonly [];
|
|
@@ -534,7 +534,7 @@ export declare const FACTORY_API_ROUTE_METADATA: {
|
|
|
534
534
|
readonly description: "Change a Factory intake route";
|
|
535
535
|
readonly pathParams: readonly ["id", "routeId"];
|
|
536
536
|
readonly queryParams: readonly [];
|
|
537
|
-
readonly bodyParams: readonly ["enabled", "expectedRevision", "name", "on", "target", "when"];
|
|
537
|
+
readonly bodyParams: readonly ["enabled", "expectedRevision", "name", "on", "outsiderPullRequestsGated", "target", "when"];
|
|
538
538
|
readonly hasQuery: false;
|
|
539
539
|
readonly hasBody: true;
|
|
540
540
|
readonly responseShape: {
|
|
@@ -744,7 +744,7 @@ export declare const FACTORY_API_ROUTE_METADATA: {
|
|
|
744
744
|
readonly description: "Add an intake route to a Factory project, after its routes; a route that places new cards goes ahead of the first route that takes every new card";
|
|
745
745
|
readonly pathParams: readonly ["id"];
|
|
746
746
|
readonly queryParams: readonly [];
|
|
747
|
-
readonly bodyParams: readonly ["enabled", "name", "on", "pullRequestOpenedMovesOnly", "target", "when"];
|
|
747
|
+
readonly bodyParams: readonly ["enabled", "name", "on", "outsiderPullRequestsGated", "pullRequestOpenedMovesOnly", "target", "when"];
|
|
748
748
|
readonly hasQuery: false;
|
|
749
749
|
readonly hasBody: true;
|
|
750
750
|
readonly responseShape: {
|
|
@@ -836,6 +836,20 @@ export declare const FACTORY_API_ROUTE_METADATA: {
|
|
|
836
836
|
readonly kind: "record";
|
|
837
837
|
};
|
|
838
838
|
};
|
|
839
|
+
readonly "POST /web/factory/projects/:id/skills": {
|
|
840
|
+
readonly contractKey: "skillCreate";
|
|
841
|
+
readonly method: "POST";
|
|
842
|
+
readonly path: "/web/factory/projects/:id/skills";
|
|
843
|
+
readonly description: "Create a skill for one Factory project";
|
|
844
|
+
readonly pathParams: readonly ["id"];
|
|
845
|
+
readonly queryParams: readonly [];
|
|
846
|
+
readonly bodyParams: readonly ["content", "name"];
|
|
847
|
+
readonly hasQuery: false;
|
|
848
|
+
readonly hasBody: true;
|
|
849
|
+
readonly responseShape: {
|
|
850
|
+
readonly kind: "single";
|
|
851
|
+
};
|
|
852
|
+
};
|
|
839
853
|
readonly "POST /web/factory/projects/:id/work-items": {
|
|
840
854
|
readonly contractKey: "workItemCreate";
|
|
841
855
|
readonly method: "POST";
|
|
@@ -910,7 +924,7 @@ export declare const FACTORY_API_ROUTE_METADATA: {
|
|
|
910
924
|
readonly contractKey: "skillOverrideSave";
|
|
911
925
|
readonly method: "PUT";
|
|
912
926
|
readonly path: "/web/factory/projects/:id/skills/:name";
|
|
913
|
-
readonly description: "Save a project's
|
|
927
|
+
readonly description: "Save a project's SKILL.md for a Factory skill: an edit of an app skill, or a skill it created";
|
|
914
928
|
readonly pathParams: readonly ["id", "name"];
|
|
915
929
|
readonly queryParams: readonly [];
|
|
916
930
|
readonly bodyParams: readonly ["content"];
|
|
@@ -1068,11 +1082,15 @@ export declare const FACTORY_API_ROUTE_SCHEMAS: {
|
|
|
1068
1082
|
readonly type: "object";
|
|
1069
1083
|
readonly properties: {
|
|
1070
1084
|
readonly skill: {
|
|
1071
|
-
readonly
|
|
1072
|
-
|
|
1073
|
-
readonly
|
|
1074
|
-
|
|
1075
|
-
|
|
1085
|
+
readonly anyOf: readonly [{
|
|
1086
|
+
readonly type: "object";
|
|
1087
|
+
readonly propertyNames: {
|
|
1088
|
+
readonly type: "string";
|
|
1089
|
+
};
|
|
1090
|
+
readonly additionalProperties: {};
|
|
1091
|
+
}, {
|
|
1092
|
+
readonly type: "null";
|
|
1093
|
+
}];
|
|
1076
1094
|
};
|
|
1077
1095
|
};
|
|
1078
1096
|
readonly required: readonly ["skill"];
|
|
@@ -2537,7 +2555,7 @@ export declare const FACTORY_API_ROUTE_SCHEMAS: {
|
|
|
2537
2555
|
};
|
|
2538
2556
|
readonly evaluatorSource: {
|
|
2539
2557
|
readonly type: "string";
|
|
2540
|
-
readonly enum: readonly ["
|
|
2558
|
+
readonly enum: readonly ["env", "project", "legacy"];
|
|
2541
2559
|
};
|
|
2542
2560
|
readonly projectEvaluator: {
|
|
2543
2561
|
readonly anyOf: readonly [{
|
|
@@ -2674,6 +2692,10 @@ export declare const FACTORY_API_ROUTE_SCHEMAS: {
|
|
|
2674
2692
|
readonly type: "boolean";
|
|
2675
2693
|
readonly const: true;
|
|
2676
2694
|
};
|
|
2695
|
+
readonly outsiderPullRequestsGated: {
|
|
2696
|
+
readonly type: "boolean";
|
|
2697
|
+
readonly const: true;
|
|
2698
|
+
};
|
|
2677
2699
|
readonly revision: {
|
|
2678
2700
|
readonly type: "integer";
|
|
2679
2701
|
readonly minimum: -9007199254740991;
|
|
@@ -2894,6 +2916,10 @@ export declare const FACTORY_API_ROUTE_SCHEMAS: {
|
|
|
2894
2916
|
readonly type: "boolean";
|
|
2895
2917
|
readonly const: true;
|
|
2896
2918
|
};
|
|
2919
|
+
readonly outsiderPullRequestsGated: {
|
|
2920
|
+
readonly type: "boolean";
|
|
2921
|
+
readonly const: true;
|
|
2922
|
+
};
|
|
2897
2923
|
readonly revision: {
|
|
2898
2924
|
readonly type: "integer";
|
|
2899
2925
|
readonly minimum: -9007199254740991;
|
|
@@ -5414,9 +5440,12 @@ export declare const FACTORY_API_ROUTE_SCHEMAS: {
|
|
|
5414
5440
|
readonly on: {
|
|
5415
5441
|
readonly $ref: "#/$defs/__schema12";
|
|
5416
5442
|
};
|
|
5417
|
-
readonly
|
|
5443
|
+
readonly outsiderPullRequestsGated: {
|
|
5418
5444
|
readonly $ref: "#/$defs/__schema14";
|
|
5419
5445
|
};
|
|
5446
|
+
readonly expectedRevision: {
|
|
5447
|
+
readonly $ref: "#/$defs/__schema15";
|
|
5448
|
+
};
|
|
5420
5449
|
};
|
|
5421
5450
|
readonly required: readonly ["expectedRevision"];
|
|
5422
5451
|
readonly additionalProperties: false;
|
|
@@ -5586,6 +5615,10 @@ export declare const FACTORY_API_ROUTE_SCHEMAS: {
|
|
|
5586
5615
|
readonly enum: readonly ["work_item.opened", "work_item.reopened", "work_item.updated", "work_item.closed", "pull_request.opened", "pull_request.reopened", "pull_request.updated", "pull_request.synchronized", "pull_request.review_requested", "pull_request.merged", "pull_request.closed", "work_item.created"];
|
|
5587
5616
|
};
|
|
5588
5617
|
readonly __schema14: {
|
|
5618
|
+
readonly type: "boolean";
|
|
5619
|
+
readonly const: false;
|
|
5620
|
+
};
|
|
5621
|
+
readonly __schema15: {
|
|
5589
5622
|
readonly type: "integer";
|
|
5590
5623
|
readonly minimum: 1;
|
|
5591
5624
|
readonly maximum: 9007199254740991;
|
|
@@ -5665,6 +5698,10 @@ export declare const FACTORY_API_ROUTE_SCHEMAS: {
|
|
|
5665
5698
|
readonly type: "boolean";
|
|
5666
5699
|
readonly const: true;
|
|
5667
5700
|
};
|
|
5701
|
+
readonly outsiderPullRequestsGated: {
|
|
5702
|
+
readonly type: "boolean";
|
|
5703
|
+
readonly const: true;
|
|
5704
|
+
};
|
|
5668
5705
|
readonly revision: {
|
|
5669
5706
|
readonly type: "integer";
|
|
5670
5707
|
readonly minimum: -9007199254740991;
|
|
@@ -7372,6 +7409,10 @@ export declare const FACTORY_API_ROUTE_SCHEMAS: {
|
|
|
7372
7409
|
readonly type: "boolean";
|
|
7373
7410
|
readonly const: true;
|
|
7374
7411
|
};
|
|
7412
|
+
readonly outsiderPullRequestsGated: {
|
|
7413
|
+
readonly type: "boolean";
|
|
7414
|
+
readonly const: true;
|
|
7415
|
+
};
|
|
7375
7416
|
};
|
|
7376
7417
|
readonly required: readonly ["name", "target"];
|
|
7377
7418
|
readonly additionalProperties: false;
|
|
@@ -7551,6 +7592,10 @@ export declare const FACTORY_API_ROUTE_SCHEMAS: {
|
|
|
7551
7592
|
readonly type: "boolean";
|
|
7552
7593
|
readonly const: true;
|
|
7553
7594
|
};
|
|
7595
|
+
readonly outsiderPullRequestsGated: {
|
|
7596
|
+
readonly type: "boolean";
|
|
7597
|
+
readonly const: true;
|
|
7598
|
+
};
|
|
7554
7599
|
readonly revision: {
|
|
7555
7600
|
readonly type: "integer";
|
|
7556
7601
|
readonly minimum: -9007199254740991;
|
|
@@ -7794,6 +7839,10 @@ export declare const FACTORY_API_ROUTE_SCHEMAS: {
|
|
|
7794
7839
|
readonly type: "boolean";
|
|
7795
7840
|
readonly const: true;
|
|
7796
7841
|
};
|
|
7842
|
+
readonly outsiderPullRequestsGated: {
|
|
7843
|
+
readonly type: "boolean";
|
|
7844
|
+
readonly const: true;
|
|
7845
|
+
};
|
|
7797
7846
|
readonly revision: {
|
|
7798
7847
|
readonly type: "integer";
|
|
7799
7848
|
readonly minimum: -9007199254740991;
|
|
@@ -9173,6 +9222,59 @@ export declare const FACTORY_API_ROUTE_SCHEMAS: {
|
|
|
9173
9222
|
readonly additionalProperties: {};
|
|
9174
9223
|
};
|
|
9175
9224
|
};
|
|
9225
|
+
readonly "POST /web/factory/projects/:id/skills": {
|
|
9226
|
+
readonly path: {
|
|
9227
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
9228
|
+
readonly type: "object";
|
|
9229
|
+
readonly properties: {
|
|
9230
|
+
readonly id: {
|
|
9231
|
+
readonly type: "string";
|
|
9232
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$";
|
|
9233
|
+
};
|
|
9234
|
+
};
|
|
9235
|
+
readonly required: readonly ["id"];
|
|
9236
|
+
};
|
|
9237
|
+
readonly body: {
|
|
9238
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
9239
|
+
readonly type: "object";
|
|
9240
|
+
readonly properties: {
|
|
9241
|
+
readonly name: {
|
|
9242
|
+
readonly $ref: "#/$defs/__schema0";
|
|
9243
|
+
};
|
|
9244
|
+
readonly content: {
|
|
9245
|
+
readonly $ref: "#/$defs/__schema1";
|
|
9246
|
+
};
|
|
9247
|
+
};
|
|
9248
|
+
readonly required: readonly ["name", "content"];
|
|
9249
|
+
readonly additionalProperties: false;
|
|
9250
|
+
readonly $defs: {
|
|
9251
|
+
readonly __schema0: {
|
|
9252
|
+
readonly type: "string";
|
|
9253
|
+
readonly maxLength: 64;
|
|
9254
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
9255
|
+
};
|
|
9256
|
+
readonly __schema1: {
|
|
9257
|
+
readonly type: "string";
|
|
9258
|
+
readonly minLength: 1;
|
|
9259
|
+
readonly maxLength: 200000;
|
|
9260
|
+
};
|
|
9261
|
+
};
|
|
9262
|
+
};
|
|
9263
|
+
readonly response: {
|
|
9264
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
9265
|
+
readonly type: "object";
|
|
9266
|
+
readonly properties: {
|
|
9267
|
+
readonly skill: {
|
|
9268
|
+
readonly type: "object";
|
|
9269
|
+
readonly propertyNames: {
|
|
9270
|
+
readonly type: "string";
|
|
9271
|
+
};
|
|
9272
|
+
readonly additionalProperties: {};
|
|
9273
|
+
};
|
|
9274
|
+
};
|
|
9275
|
+
readonly required: readonly ["skill"];
|
|
9276
|
+
};
|
|
9277
|
+
};
|
|
9176
9278
|
readonly "POST /web/factory/projects/:id/work-items": {
|
|
9177
9279
|
readonly path: {
|
|
9178
9280
|
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
@@ -9547,7 +9649,7 @@ export declare const FACTORY_API_ROUTE_SCHEMAS: {
|
|
|
9547
9649
|
};
|
|
9548
9650
|
readonly evaluatorSource: {
|
|
9549
9651
|
readonly type: "string";
|
|
9550
|
-
readonly enum: readonly ["
|
|
9652
|
+
readonly enum: readonly ["env", "project", "legacy"];
|
|
9551
9653
|
};
|
|
9552
9654
|
readonly projectEvaluator: {
|
|
9553
9655
|
readonly anyOf: readonly [{
|
|
@@ -9837,6 +9939,7 @@ export declare const FACTORY_API_ROUTE_CATALOG: {
|
|
|
9837
9939
|
readonly intakeRouteAgain: "POST /web/factory/projects/:id/intake/not-routed/:decisionId/route-again";
|
|
9838
9940
|
readonly intakeTest: "POST /web/factory/projects/:id/intake/test";
|
|
9839
9941
|
readonly workItemStart: "POST /web/factory/projects/:id/runs/start";
|
|
9942
|
+
readonly skillCreate: "POST /web/factory/projects/:id/skills";
|
|
9840
9943
|
readonly workItemCreate: "POST /web/factory/projects/:id/work-items";
|
|
9841
9944
|
readonly workItemAutomationRun: "POST /web/factory/projects/:id/work-items/:workItemId/automation-runs";
|
|
9842
9945
|
readonly workItemTransition: "POST /web/factory/projects/:id/work-items/:workItemId/transition";
|