@mastra/factory 0.12.0 → 0.12.1-alpha.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/factory.d.ts.map +1 -1
- package/dist/factory.js +26 -1
- package/dist/factory.js.map +1 -1
- package/dist/integrations/github/provenance.d.ts +2 -0
- package/dist/integrations/github/provenance.d.ts.map +1 -1
- package/dist/integrations/github/provenance.js +3 -2
- package/dist/integrations/github/provenance.js.map +1 -1
- package/dist/integrations/github/routes.d.ts.map +1 -1
- package/dist/integrations/github/routes.js +12 -39
- package/dist/integrations/github/routes.js.map +1 -1
- package/dist/integrations/github/rules.d.ts.map +1 -1
- package/dist/integrations/github/rules.js +7 -2
- package/dist/integrations/github/rules.js.map +1 -1
- package/dist/integrations/github/webhook.d.ts.map +1 -1
- package/dist/integrations/github/webhook.js +34 -2
- package/dist/integrations/github/webhook.js.map +1 -1
- package/dist/routes/projects.d.ts +9 -1
- package/dist/routes/projects.d.ts.map +1 -1
- package/dist/routes/projects.js +26 -5
- package/dist/routes/projects.js.map +1 -1
- package/dist/routes/surface.js +1 -1
- package/dist/rules/defaults.d.ts.map +1 -1
- package/dist/rules/defaults.js +17 -7
- package/dist/rules/defaults.js.map +1 -1
- package/dist/rules/dispatcher.d.ts +1 -0
- package/dist/rules/dispatcher.d.ts.map +1 -1
- package/dist/rules/dispatcher.js +32 -2
- package/dist/rules/dispatcher.js.map +1 -1
- package/dist/rules/types.d.ts +2 -0
- package/dist/rules/types.d.ts.map +1 -1
- package/dist/rules/types.js.map +1 -1
- package/dist/sandbox/session-retirement.js +1 -1
- package/dist/workspace.js +1 -1
- package/factory-skills/factory-triage/SKILL.md +1 -1
- package/package.json +7 -7
package/dist/workspace.js
CHANGED
|
@@ -2,9 +2,9 @@ import { timedPhase } from "./timing.js";
|
|
|
2
2
|
import { getFactoryAuthUserFromContext, getFactoryAuthUserId } from "./auth.js";
|
|
3
3
|
import { getGithubPat } from "./integrations/github/pat.js";
|
|
4
4
|
import { registerGithubPatKind, registerGithubTokenInjector } from "./integrations/github/token-refresh.js";
|
|
5
|
+
import { DEFAULT_COMMAND_TIMEOUT_MS, SetupCommandError, checkoutSessionBranch, materializeRepo, runSetupCommand, runTeardownCommand } from "./integrations/github/sandbox.js";
|
|
5
6
|
import { requireExec } from "./sandbox/materialization.js";
|
|
6
7
|
import { createSessionSetupHook, evictSessionSandbox, getSessionSandbox, hasFailedSetupCommand, recordFailedSetupCommand, resolveSessionWorkdir } from "./sandbox/session-sandbox.js";
|
|
7
|
-
import { DEFAULT_COMMAND_TIMEOUT_MS, SetupCommandError, checkoutSessionBranch, materializeRepo, runSetupCommand, runTeardownCommand } from "./integrations/github/sandbox.js";
|
|
8
8
|
import { getFactorySessionAddress } from "./rules/binding-context.js";
|
|
9
9
|
import path, { dirname, join } from "path";
|
|
10
10
|
import { LocalSkillSource, Workspace } from "@mastra/core/workspace";
|
|
@@ -40,7 +40,7 @@ At the end of this phase, publish a small summary to the source issue as stated
|
|
|
40
40
|
| **Next step** | Pending |
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
For GitHub issues,
|
|
43
|
+
For GitHub issues, add `status: needs triage` only if no `status:` label is present, using `gh issue edit "$ISSUE" --add-label "status: needs triage"`. For Linear issues, skip this GitHub-only label mutation.
|
|
44
44
|
|
|
45
45
|
## Phase 2: Related Issues & Prior Work
|
|
46
46
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/factory",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1-alpha.1",
|
|
4
4
|
"description": "Mastra Software Factory module: the server core behind the Mastra Software Factory — storage domains, integrations, and surfaces for agent-powered software delivery",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"hono": "^4.12.8",
|
|
52
52
|
"zod": "^4.3.6",
|
|
53
53
|
"@mastra/auth-studio": "1.3.5",
|
|
54
|
-
"@mastra/code-sdk": "1.6.
|
|
55
|
-
"@mastra/slack": "1.6.3",
|
|
54
|
+
"@mastra/code-sdk": "1.6.1-alpha.1",
|
|
56
55
|
"@mastra/auth-workos": "1.6.5",
|
|
57
|
-
"@mastra/core": "1.
|
|
56
|
+
"@mastra/core": "1.65.0-alpha.1",
|
|
57
|
+
"@mastra/slack": "1.6.3"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/node": "22.20.1",
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"typescript": "^6.0.3",
|
|
64
64
|
"typescript-eslint": "^8.57.0",
|
|
65
65
|
"vitest": "4.1.10",
|
|
66
|
+
"@mastra/pg": "1.22.3",
|
|
66
67
|
"@internal/lint": "0.0.130",
|
|
67
68
|
"@mastra/libsql": "1.22.3",
|
|
68
|
-
"@
|
|
69
|
-
"@internal/workspace": "0.0.2"
|
|
70
|
-
"@internal/types-builder": "0.0.105"
|
|
69
|
+
"@internal/types-builder": "0.0.105",
|
|
70
|
+
"@internal/workspace": "0.0.2"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=22.19.0"
|