@websitelabs/n8n-nodes-software-teams 0.12.3
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/ARCHITECTURE.md +1232 -0
- package/CONTRACT.md +450 -0
- package/README.md +491 -0
- package/dist/agents/software-teams-architect.md +155 -0
- package/dist/agents/software-teams-backend.md +93 -0
- package/dist/agents/software-teams-codebase-mapper.md +67 -0
- package/dist/agents/software-teams-committer.md +90 -0
- package/dist/agents/software-teams-debugger.md +91 -0
- package/dist/agents/software-teams-dev-planner.md +175 -0
- package/dist/agents/software-teams-devops.md +92 -0
- package/dist/agents/software-teams-feedback-learner.md +118 -0
- package/dist/agents/software-teams-frontend.md +107 -0
- package/dist/agents/software-teams-game-ai-engineer.md +179 -0
- package/dist/agents/software-teams-game-art-pipeline.md +180 -0
- package/dist/agents/software-teams-game-designer.md +245 -0
- package/dist/agents/software-teams-game-devops.md +134 -0
- package/dist/agents/software-teams-game-engineer.md +146 -0
- package/dist/agents/software-teams-game-producer.md +288 -0
- package/dist/agents/software-teams-game-qa.md +297 -0
- package/dist/agents/software-teams-game-tech-artist.md +186 -0
- package/dist/agents/software-teams-head-engineering.md +37 -0
- package/dist/agents/software-teams-perf-analyst.md +124 -0
- package/dist/agents/software-teams-phase-researcher.md +75 -0
- package/dist/agents/software-teams-plan-checker.md +87 -0
- package/dist/agents/software-teams-planner.md +456 -0
- package/dist/agents/software-teams-pr-feedback.md +127 -0
- package/dist/agents/software-teams-pr-generator.md +107 -0
- package/dist/agents/software-teams-producer.md +203 -0
- package/dist/agents/software-teams-product-lead.md +51 -0
- package/dist/agents/software-teams-programmer.md +126 -0
- package/dist/agents/software-teams-qa-tester.md +165 -0
- package/dist/agents/software-teams-quality.md +153 -0
- package/dist/agents/software-teams-researcher.md +151 -0
- package/dist/agents/software-teams-security.md +126 -0
- package/dist/agents/software-teams-ux-designer.md +92 -0
- package/dist/agents/software-teams-verifier.md +87 -0
- package/dist/credentials/SoftwareTeamsApi.credentials.d.ts +18 -0
- package/dist/credentials/SoftwareTeamsApi.credentials.d.ts.map +1 -0
- package/dist/credentials/SoftwareTeamsApi.credentials.js +110 -0
- package/dist/credentials/SoftwareTeamsApi.credentials.js.map +1 -0
- package/dist/credentials/softwareTeamsApi.svg +14 -0
- package/dist/nodes/SoftwareTeamsAgent/SoftwareTeamsAgent.node.d.ts +23 -0
- package/dist/nodes/SoftwareTeamsAgent/SoftwareTeamsAgent.node.d.ts.map +1 -0
- package/dist/nodes/SoftwareTeamsAgent/SoftwareTeamsAgent.node.js +308 -0
- package/dist/nodes/SoftwareTeamsAgent/SoftwareTeamsAgent.node.js.map +1 -0
- package/dist/nodes/SoftwareTeamsAgent/softwareTeamsAgent.svg +18 -0
- package/dist/nodes/SoftwareTeamsCleanup/SoftwareTeamsCleanup.node.d.ts +24 -0
- package/dist/nodes/SoftwareTeamsCleanup/SoftwareTeamsCleanup.node.d.ts.map +1 -0
- package/dist/nodes/SoftwareTeamsCleanup/SoftwareTeamsCleanup.node.js +2635 -0
- package/dist/nodes/SoftwareTeamsCleanup/SoftwareTeamsCleanup.node.js.map +1 -0
- package/dist/nodes/SoftwareTeamsCleanup/SoftwareTeamsCleanup.svg +6 -0
- package/dist/nodes/SoftwareTeamsFinaliser/SoftwareTeamsFinaliser.node.d.ts +6 -0
- package/dist/nodes/SoftwareTeamsFinaliser/SoftwareTeamsFinaliser.node.d.ts.map +1 -0
- package/dist/nodes/SoftwareTeamsFinaliser/SoftwareTeamsFinaliser.node.js +231 -0
- package/dist/nodes/SoftwareTeamsFinaliser/SoftwareTeamsFinaliser.node.js.map +1 -0
- package/dist/nodes/SoftwareTeamsFinaliser/softwareTeamsFinaliser.svg +11 -0
- package/dist/nodes/SoftwareTeamsHitl/SoftwareTeamsHitl.node.d.ts +25 -0
- package/dist/nodes/SoftwareTeamsHitl/SoftwareTeamsHitl.node.d.ts.map +1 -0
- package/dist/nodes/SoftwareTeamsHitl/SoftwareTeamsHitl.node.js +366 -0
- package/dist/nodes/SoftwareTeamsHitl/SoftwareTeamsHitl.node.js.map +1 -0
- package/dist/nodes/SoftwareTeamsHitl/softwareTeamsHitl.svg +11 -0
- package/dist/nodes/SoftwareTeamsOrchestrator/SoftwareTeamsOrchestrator.node.d.ts +15 -0
- package/dist/nodes/SoftwareTeamsOrchestrator/SoftwareTeamsOrchestrator.node.d.ts.map +1 -0
- package/dist/nodes/SoftwareTeamsOrchestrator/SoftwareTeamsOrchestrator.node.js +373 -0
- package/dist/nodes/SoftwareTeamsOrchestrator/SoftwareTeamsOrchestrator.node.js.map +1 -0
- package/dist/nodes/SoftwareTeamsOrchestrator/softwareTeamsOrchestrator.svg +20 -0
- package/dist/nodes/SoftwareTeamsOutput/SoftwareTeamsOutput.node.d.ts +6 -0
- package/dist/nodes/SoftwareTeamsOutput/SoftwareTeamsOutput.node.d.ts.map +1 -0
- package/dist/nodes/SoftwareTeamsOutput/SoftwareTeamsOutput.node.js +2685 -0
- package/dist/nodes/SoftwareTeamsOutput/SoftwareTeamsOutput.node.js.map +1 -0
- package/dist/nodes/SoftwareTeamsOutput/SoftwareTeamsOutput.svg +6 -0
- package/dist/nodes/SoftwareTeamsPrFeedback/SoftwareTeamsPrFeedback.node.d.ts +22 -0
- package/dist/nodes/SoftwareTeamsPrFeedback/SoftwareTeamsPrFeedback.node.d.ts.map +1 -0
- package/dist/nodes/SoftwareTeamsPrFeedback/SoftwareTeamsPrFeedback.node.js +2655 -0
- package/dist/nodes/SoftwareTeamsPrFeedback/SoftwareTeamsPrFeedback.node.js.map +1 -0
- package/dist/nodes/SoftwareTeamsPrFeedback/softwareTeamsPrFeedback.svg +8 -0
- package/dist/nodes/SoftwareTeamsSlackHitl/SoftwareTeamsSlackHitl.node.d.ts +19 -0
- package/dist/nodes/SoftwareTeamsSlackHitl/SoftwareTeamsSlackHitl.node.d.ts.map +1 -0
- package/dist/nodes/SoftwareTeamsSlackHitl/SoftwareTeamsSlackHitl.node.js +198 -0
- package/dist/nodes/SoftwareTeamsSlackHitl/SoftwareTeamsSlackHitl.node.js.map +1 -0
- package/dist/nodes/SoftwareTeamsSlackHitl/softwareTeamsSlackHitl.svg +10 -0
- package/dist/nodes/SoftwareTeamsTrigger/SoftwareTeamsTrigger.node.d.ts +6 -0
- package/dist/nodes/SoftwareTeamsTrigger/SoftwareTeamsTrigger.node.d.ts.map +1 -0
- package/dist/nodes/SoftwareTeamsTrigger/SoftwareTeamsTrigger.node.js +2601 -0
- package/dist/nodes/SoftwareTeamsTrigger/SoftwareTeamsTrigger.node.js.map +1 -0
- package/dist/nodes/SoftwareTeamsTrigger/SoftwareTeamsTrigger.node.svg +6 -0
- package/dist/nodes/SoftwareTeamsWorkspace/SoftwareTeamsWorkspace.node.d.ts +20 -0
- package/dist/nodes/SoftwareTeamsWorkspace/SoftwareTeamsWorkspace.node.d.ts.map +1 -0
- package/dist/nodes/SoftwareTeamsWorkspace/SoftwareTeamsWorkspace.node.js +175 -0
- package/dist/nodes/SoftwareTeamsWorkspace/SoftwareTeamsWorkspace.node.js.map +1 -0
- package/dist/nodes/SoftwareTeamsWorkspace/softwareTeamsWorkspace.svg +13 -0
- package/dist/src/execution/single-turn.d.ts +6 -0
- package/dist/src/execution/single-turn.d.ts.map +1 -0
- package/dist/src/execution/single-turn.js +2662 -0
- package/dist/src/execution/single-turn.js.map +1 -0
- package/dist/src/hitl/channels.d.ts +48 -0
- package/dist/src/hitl/channels.d.ts.map +1 -0
- package/dist/src/hitl/channels.js +297 -0
- package/dist/src/hitl/channels.js.map +1 -0
- package/dist/src/hitl/conversation-state.d.ts +45 -0
- package/dist/src/hitl/conversation-state.d.ts.map +1 -0
- package/dist/src/hitl/conversation-state.js +69 -0
- package/dist/src/hitl/conversation-state.js.map +1 -0
- package/dist/src/hitl/slack.d.ts +32 -0
- package/dist/src/hitl/slack.d.ts.map +1 -0
- package/dist/src/hitl/slack.js +202 -0
- package/dist/src/hitl/slack.js.map +1 -0
- package/dist/src/ingestion/context.d.ts +38 -0
- package/dist/src/ingestion/context.d.ts.map +1 -0
- package/dist/src/ingestion/context.js +2501 -0
- package/dist/src/ingestion/context.js.map +1 -0
- package/dist/src/ingestion/pr-feedback.d.ts +48 -0
- package/dist/src/ingestion/pr-feedback.d.ts.map +1 -0
- package/dist/src/ingestion/pr-feedback.js +85 -0
- package/dist/src/ingestion/pr-feedback.js.map +1 -0
- package/dist/src/n8n-cast.d.ts +11 -0
- package/dist/src/n8n-cast.d.ts.map +1 -0
- package/dist/src/n8n-cast.js +17 -0
- package/dist/src/n8n-cast.js.map +1 -0
- package/dist/src/orchestration/run-state/global-store.d.ts +7 -0
- package/dist/src/orchestration/run-state/global-store.d.ts.map +1 -0
- package/dist/src/orchestration/run-state/global-store.js +27 -0
- package/dist/src/orchestration/run-state/global-store.js.map +1 -0
- package/dist/src/orchestration/run-state/ordering.d.ts +14 -0
- package/dist/src/orchestration/run-state/ordering.d.ts.map +1 -0
- package/dist/src/orchestration/run-state/ordering.js +59 -0
- package/dist/src/orchestration/run-state/ordering.js.map +1 -0
- package/dist/src/orchestration/run-state/persistence.d.ts +9 -0
- package/dist/src/orchestration/run-state/persistence.d.ts.map +1 -0
- package/dist/src/orchestration/run-state/persistence.js +29 -0
- package/dist/src/orchestration/run-state/persistence.js.map +1 -0
- package/dist/src/orchestration/run-state/planning.d.ts +17 -0
- package/dist/src/orchestration/run-state/planning.d.ts.map +1 -0
- package/dist/src/orchestration/run-state/planning.js +117 -0
- package/dist/src/orchestration/run-state/planning.js.map +1 -0
- package/dist/src/orchestration/run-state/readiness.d.ts +20 -0
- package/dist/src/orchestration/run-state/readiness.d.ts.map +1 -0
- package/dist/src/orchestration/run-state/readiness.js +105 -0
- package/dist/src/orchestration/run-state/readiness.js.map +1 -0
- package/dist/src/orchestration/run-state/shapes.d.ts +53 -0
- package/dist/src/orchestration/run-state/shapes.d.ts.map +1 -0
- package/dist/src/orchestration/run-state/shapes.js +3 -0
- package/dist/src/orchestration/run-state/shapes.js.map +1 -0
- package/dist/src/orchestration/run-state/transitions.d.ts +46 -0
- package/dist/src/orchestration/run-state/transitions.d.ts.map +1 -0
- package/dist/src/orchestration/run-state/transitions.js +133 -0
- package/dist/src/orchestration/run-state/transitions.js.map +1 -0
- package/dist/src/orchestration/run-state.d.ts +8 -0
- package/dist/src/orchestration/run-state.d.ts.map +1 -0
- package/dist/src/orchestration/run-state.js +35 -0
- package/dist/src/orchestration/run-state.js.map +1 -0
- package/dist/src/output/github.d.ts +39 -0
- package/dist/src/output/github.d.ts.map +1 -0
- package/dist/src/output/github.js +2492 -0
- package/dist/src/output/github.js.map +1 -0
- package/dist/src/repo/git.d.ts +71 -0
- package/dist/src/repo/git.d.ts.map +1 -0
- package/dist/src/repo/git.js +207 -0
- package/dist/src/repo/git.js.map +1 -0
- package/dist/src/repo/merge.d.ts +36 -0
- package/dist/src/repo/merge.d.ts.map +1 -0
- package/dist/src/repo/merge.js +133 -0
- package/dist/src/repo/merge.js.map +1 -0
- package/dist/src/repo/repo-context.d.ts +23 -0
- package/dist/src/repo/repo-context.d.ts.map +1 -0
- package/dist/src/repo/repo-context.js +10 -0
- package/dist/src/repo/repo-context.js.map +1 -0
- package/dist/src/repo/teardown.d.ts +38 -0
- package/dist/src/repo/teardown.d.ts.map +1 -0
- package/dist/src/repo/teardown.js +171 -0
- package/dist/src/repo/teardown.js.map +1 -0
- package/dist/src/repo/validate.d.ts +4 -0
- package/dist/src/repo/validate.d.ts.map +1 -0
- package/dist/src/repo/validate.js +42 -0
- package/dist/src/repo/validate.js.map +1 -0
- package/package.json +73 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SoftwareTeamsTrigger.node.js","sourceRoot":"","sources":["../../../nodes/SoftwareTeamsTrigger/SoftwareTeamsTrigger.node.ts"],"names":[],"mappings":";;;AAAA,+CAOsB;AAGtB,yDAGqC;AACrC,gEAGqC;AACrC,iDAAkD;AAElD,SAAS,gBAAgB,CAAC,MAAwC;IAChE,MAAM,IAAI,GAAG,IAAI,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AY,CAAC,CAAC;QACzD,IAAI,CAAC,GAAG,EAAE,CAAC;YACT,IAAI,CAAC,MAAM,CAAC,IAAI,CACd,8DAA8D,MAAM,MAAM;gBACxE,oEAAoE;gBACpE,4DAA4D,CAC/D,CAAC;QACJ,CAAC;QACD,OAAO,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,IAAI,CAAC;IACrB,CAAC;IAED,MAAM,MAAM,GAAI,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAY,CAAC,IAAI,EAAE,CAAC;IACzE,MAAM,MAAM,GAAG,IAAA,oCAAmB,EAAC,MAAM,CAAC,CAAC;IAE3C,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,IAAI,CAAC,MAAM,CAAC,IAAI,CACd,4DAA4D,MAAM,oCAAoC,CACvG,CAAC;QACF,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,GAAG,GAAG,MAAM,IAAA,6BAAmB,EAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IACpF,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,IAAI,CAAC,MAAM,CAAC,IAAI,CACd,gEAAgE,MAAM,CAAC,OAAO,MAAM;YAClF,4EAA4E;YAC5E,6CAA6C,CAChD,CAAC;IACJ,CAAC;IACD,OAAO,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,IAAI,CAAC;AACrB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" width="60" height="60">
|
|
2
|
+
<!-- Background circle -->
|
|
3
|
+
<circle cx="30" cy="30" r="28" fill="#6B3FA0" />
|
|
4
|
+
<!-- Lightning bolt / trigger symbol -->
|
|
5
|
+
<path d="M34 8 L20 32 L28 32 L26 52 L40 28 L32 28 Z" fill="#FFFFFF" />
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
+
/**
|
|
3
|
+
* SoftwareTeamsWorkspace node (ADR-002 Decision G, AC1).
|
|
4
|
+
*
|
|
5
|
+
* Establishes the run's git checkout and seeds the non-secret repo coordinates
|
|
6
|
+
* (RepoDescriptor) onto the outbound NodeEnvelope as the additive optional `repo`
|
|
7
|
+
* field. Downstream Agent nodes read `envelope.repo` to construct a local
|
|
8
|
+
* RepoContext and createWorktree for their turn (R-15, R-18).
|
|
9
|
+
*
|
|
10
|
+
* Token injection: the GITHUB_TOKEN from SoftwareTeamsApi credentials is injected
|
|
11
|
+
* into the clone URL for private repos; it is never echoed to the envelope (R-02).
|
|
12
|
+
*
|
|
13
|
+
* Fail-fast: git binary absence and invalid repo/branch inputs fail immediately
|
|
14
|
+
* with a clear actionable message before any git work is attempted (R-01).
|
|
15
|
+
*/
|
|
16
|
+
export declare class SoftwareTeamsWorkspace implements INodeType {
|
|
17
|
+
description: INodeTypeDescription;
|
|
18
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=SoftwareTeamsWorkspace.node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SoftwareTeamsWorkspace.node.d.ts","sourceRoot":"","sources":["../../../nodes/SoftwareTeamsWorkspace/SoftwareTeamsWorkspace.node.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAGrB,MAAM,cAAc,CAAC;AAoCtB;;;;;;;;;;;;;GAaG;AACH,qBAAa,sBAAuB,YAAW,SAAS;IACtD,WAAW,EAAE,oBAAoB,CAgD/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CAkExE"}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoftwareTeamsWorkspace = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const node_crypto_1 = require("node:crypto");
|
|
6
|
+
const node_path_1 = require("node:path");
|
|
7
|
+
const node_os_1 = require("node:os");
|
|
8
|
+
const n8n_cast_1 = require("../../src/n8n-cast");
|
|
9
|
+
const git_1 = require("../../src/repo/git");
|
|
10
|
+
const validate_1 = require("../../src/repo/validate");
|
|
11
|
+
const OWNER_REPO_RE = /^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/;
|
|
12
|
+
function isOwnerRepo(value) {
|
|
13
|
+
return OWNER_REPO_RE.test(value);
|
|
14
|
+
}
|
|
15
|
+
function resolveRepoCoords(targetRepo) {
|
|
16
|
+
var _a, _b;
|
|
17
|
+
if (isOwnerRepo(targetRepo)) {
|
|
18
|
+
const validOwnerRepo = (0, validate_1.validateOwnerRepo)(targetRepo);
|
|
19
|
+
return {
|
|
20
|
+
cloneUrl: `https://github.com/${validOwnerRepo}.git`,
|
|
21
|
+
ownerRepo: validOwnerRepo,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
const validCloneUrl = (0, validate_1.validateCloneUrl)(targetRepo);
|
|
25
|
+
const sshMatch = validCloneUrl.match(/^git@[^:]+:([A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+?)(\.git)?$/);
|
|
26
|
+
const httpsMatch = validCloneUrl.match(/https:\/\/[^/]+\/([A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+?)(\.git)?$/);
|
|
27
|
+
const ownerRepo = (_b = ((_a = sshMatch === null || sshMatch === void 0 ? void 0 : sshMatch[1]) !== null && _a !== void 0 ? _a : httpsMatch === null || httpsMatch === void 0 ? void 0 : httpsMatch[1])) !== null && _b !== void 0 ? _b : '';
|
|
28
|
+
if (!ownerRepo) {
|
|
29
|
+
throw new n8n_workflow_1.ApplicationError(`Cannot derive owner/repo from clone URL "${validCloneUrl}". ` +
|
|
30
|
+
'Provide the target as "owner/repo" instead.');
|
|
31
|
+
}
|
|
32
|
+
return { cloneUrl: validCloneUrl, ownerRepo };
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* SoftwareTeamsWorkspace node (ADR-002 Decision G, AC1).
|
|
36
|
+
*
|
|
37
|
+
* Establishes the run's git checkout and seeds the non-secret repo coordinates
|
|
38
|
+
* (RepoDescriptor) onto the outbound NodeEnvelope as the additive optional `repo`
|
|
39
|
+
* field. Downstream Agent nodes read `envelope.repo` to construct a local
|
|
40
|
+
* RepoContext and createWorktree for their turn (R-15, R-18).
|
|
41
|
+
*
|
|
42
|
+
* Token injection: the GITHUB_TOKEN from SoftwareTeamsApi credentials is injected
|
|
43
|
+
* into the clone URL for private repos; it is never echoed to the envelope (R-02).
|
|
44
|
+
*
|
|
45
|
+
* Fail-fast: git binary absence and invalid repo/branch inputs fail immediately
|
|
46
|
+
* with a clear actionable message before any git work is attempted (R-01).
|
|
47
|
+
*/
|
|
48
|
+
class SoftwareTeamsWorkspace {
|
|
49
|
+
constructor() {
|
|
50
|
+
this.description = {
|
|
51
|
+
displayName: 'Software Teams Workspace',
|
|
52
|
+
name: 'softwareTeamsWorkspace',
|
|
53
|
+
icon: 'file:softwareTeamsWorkspace.svg',
|
|
54
|
+
group: ['transform'],
|
|
55
|
+
version: 1,
|
|
56
|
+
description: 'Clone a target repository and seed repo coordinates onto the envelope. ' +
|
|
57
|
+
'Place this node before Agent nodes to enable repo-scoped execution.',
|
|
58
|
+
subtitle: '={{ $parameter["targetRepo"] }}',
|
|
59
|
+
defaults: { name: 'Software Teams Workspace' },
|
|
60
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
61
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
62
|
+
credentials: [
|
|
63
|
+
{ name: 'softwareTeamsApi', required: true },
|
|
64
|
+
],
|
|
65
|
+
properties: [
|
|
66
|
+
{
|
|
67
|
+
displayName: 'Target Repository',
|
|
68
|
+
name: 'targetRepo',
|
|
69
|
+
type: 'string',
|
|
70
|
+
default: '',
|
|
71
|
+
required: true,
|
|
72
|
+
description: 'The repository to check out. Accepts "owner/repo" (GitHub shorthand) or a full ' +
|
|
73
|
+
'https:// / git@ clone URL. Must not contain shell characters (R-08).',
|
|
74
|
+
placeholder: 'owner/repo or https://github.com/owner/repo.git',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
displayName: 'Base Branch',
|
|
78
|
+
name: 'baseBranch',
|
|
79
|
+
type: 'string',
|
|
80
|
+
default: 'main',
|
|
81
|
+
required: true,
|
|
82
|
+
description: 'The branch to clone and fork agent worktrees from. Must be a valid git ref name.',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
displayName: 'Correlation ID',
|
|
86
|
+
name: 'correlationId',
|
|
87
|
+
type: 'string',
|
|
88
|
+
default: '',
|
|
89
|
+
description: 'Stable run id carried unchanged onto every emitted envelope. Leave blank to ' +
|
|
90
|
+
"generate one, or reuse an upstream envelope's correlationId to continue a run.",
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
usableAsTool: true,
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
async execute() {
|
|
97
|
+
var _a, _b;
|
|
98
|
+
const items = this.getInputData();
|
|
99
|
+
const returnData = [];
|
|
100
|
+
const credentials = await this.getCredentials('softwareTeamsApi');
|
|
101
|
+
process.env['ANTHROPIC_API_KEY'] = credentials.anthropicApiKey;
|
|
102
|
+
const githubToken = credentials.githubToken || undefined;
|
|
103
|
+
const itemCount = items.length > 0 ? items.length : 1;
|
|
104
|
+
for (const [i] of Array.from({ length: itemCount }).entries()) {
|
|
105
|
+
const targetRepo = this.getNodeParameter('targetRepo', i);
|
|
106
|
+
const baseBranch = this.getNodeParameter('baseBranch', i, 'main');
|
|
107
|
+
const correlationIdParam = this.getNodeParameter('correlationId', i, '').trim();
|
|
108
|
+
const upstream = ((_b = (_a = items[i]) === null || _a === void 0 ? void 0 : _a.json) !== null && _b !== void 0 ? _b : {});
|
|
109
|
+
const upstreamCorrelationId = typeof upstream['correlationId'] === 'string' && upstream['correlationId'].length > 0
|
|
110
|
+
? upstream['correlationId']
|
|
111
|
+
: undefined;
|
|
112
|
+
const correlationId = correlationIdParam || upstreamCorrelationId || (0, node_crypto_1.randomUUID)();
|
|
113
|
+
try {
|
|
114
|
+
(0, validate_1.validateBranchName)(baseBranch);
|
|
115
|
+
const { cloneUrl, ownerRepo } = resolveRepoCoords(targetRepo.trim());
|
|
116
|
+
const repoDir = (0, node_path_1.join)((0, node_os_1.tmpdir)(), 'st-workspace', correlationId);
|
|
117
|
+
const authenticatedCloneUrl = buildAuthenticatedUrl(cloneUrl, githubToken);
|
|
118
|
+
await (0, git_1.cloneRepo)({ cloneUrl: authenticatedCloneUrl, branch: baseBranch, destDir: repoDir });
|
|
119
|
+
const repoDescriptor = { cloneUrl, ownerRepo, baseBranch };
|
|
120
|
+
const outEnvelope = buildOutEnvelope(upstream, correlationId, repoDescriptor);
|
|
121
|
+
returnData.push({
|
|
122
|
+
json: (0, n8n_cast_1.toDataObject)(outEnvelope),
|
|
123
|
+
pairedItem: { item: i },
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
catch (err) {
|
|
127
|
+
if (this.continueOnFail()) {
|
|
128
|
+
returnData.push({
|
|
129
|
+
json: { error: err instanceof Error ? err.message : String(err) },
|
|
130
|
+
pairedItem: { item: i },
|
|
131
|
+
});
|
|
132
|
+
continue;
|
|
133
|
+
}
|
|
134
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Software Teams Workspace failed: ${err instanceof Error ? err.message : String(err)}`, { itemIndex: i });
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
return [returnData];
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.SoftwareTeamsWorkspace = SoftwareTeamsWorkspace;
|
|
141
|
+
function buildAuthenticatedUrl(cloneUrl, githubToken) {
|
|
142
|
+
if (!githubToken)
|
|
143
|
+
return cloneUrl;
|
|
144
|
+
if (!cloneUrl.startsWith('https://'))
|
|
145
|
+
return cloneUrl;
|
|
146
|
+
return cloneUrl.replace('https://', `https://x-access-token:${githubToken}@`);
|
|
147
|
+
}
|
|
148
|
+
function buildOutEnvelope(upstream, correlationId, repo) {
|
|
149
|
+
const isUpstreamEnvelope = typeof upstream['correlationId'] === 'string' &&
|
|
150
|
+
upstream['correlationId'].length > 0 &&
|
|
151
|
+
typeof upstream['agentId'] === 'string' &&
|
|
152
|
+
typeof upstream['status'] === 'string';
|
|
153
|
+
if (isUpstreamEnvelope) {
|
|
154
|
+
const up = (0, n8n_cast_1.fromDataObject)(upstream);
|
|
155
|
+
return {
|
|
156
|
+
correlationId,
|
|
157
|
+
agentId: up.agentId,
|
|
158
|
+
status: up.status,
|
|
159
|
+
input: up.input,
|
|
160
|
+
result: up.result,
|
|
161
|
+
artifacts: Array.isArray(up.artifacts) ? [...up.artifacts] : [],
|
|
162
|
+
repo,
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
return {
|
|
166
|
+
correlationId,
|
|
167
|
+
agentId: 'software-teams-workspace',
|
|
168
|
+
status: 'ok',
|
|
169
|
+
input: { prompt: '', context: null },
|
|
170
|
+
result: { text: '' },
|
|
171
|
+
artifacts: [],
|
|
172
|
+
repo,
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
//# sourceMappingURL=SoftwareTeamsWorkspace.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SoftwareTeamsWorkspace.node.js","sourceRoot":"","sources":["../../../nodes/SoftwareTeamsWorkspace/SoftwareTeamsWorkspace.node.ts"],"names":[],"mappings":";;;AAAA,+CASsB;AACtB,6CAAyC;AACzC,yCAAiC;AACjC,qCAAiC;AAEjC,iDAAkE;AAClE,4CAA+C;AAC/C,sDAAkG;AAElG,MAAM,aAAa,GAAG,oCAAoC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"/>
|
|
3
|
+
<rect x="12" y="18" width="36" height="26" rx="3" ry="3" fill="none" stroke="white" stroke-width="2.5"/>
|
|
4
|
+
<line x1="12" y1="25" x2="48" y2="25" stroke="white" stroke-width="2"/>
|
|
5
|
+
<circle cx="17" cy="21.5" r="1.5" fill="white" opacity="0.8"/>
|
|
6
|
+
<circle cx="22" cy="21.5" r="1.5" fill="white" opacity="0.8"/>
|
|
7
|
+
<circle cx="27" cy="21.5" r="1.5" fill="white" opacity="0.8"/>
|
|
8
|
+
<line x1="18" y1="32" x2="30" y2="32" stroke="white" stroke-width="1.8" stroke-linecap="round" opacity="0.9"/>
|
|
9
|
+
<line x1="18" y1="37" x2="26" y2="37" stroke="white" stroke-width="1.8" stroke-linecap="round" opacity="0.7"/>
|
|
10
|
+
<circle cx="40" cy="37" r="5" fill="none" stroke="white" stroke-width="2"/>
|
|
11
|
+
<line x1="40" y1="34" x2="40" y2="37" stroke="white" stroke-width="1.5" stroke-linecap="round"/>
|
|
12
|
+
<circle cx="40" cy="37.5" r="0.8" fill="white"/>
|
|
13
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { NodeEnvelope } from "@websitelabs/software-teams";
|
|
2
|
+
import type { RepoContext } from "../repo/repo-context";
|
|
3
|
+
declare const SINGLE_TURN_ALLOWED_TOOLS: readonly string[];
|
|
4
|
+
export { SINGLE_TURN_ALLOWED_TOOLS };
|
|
5
|
+
export declare function runAgentTurn(input: NodeEnvelope, repoContext?: RepoContext, githubToken?: string): Promise<NodeEnvelope>;
|
|
6
|
+
//# sourceMappingURL=single-turn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single-turn.d.ts","sourceRoot":"","sources":["../../../src/execution/single-turn.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAWxD,QAAA,MAA2C,yBAAyB,mBAAc,CAAC;AAEnF,OAAO,EAAE,yBAAyB,EAAE,CAAC;AA8JrC,wBAAsB,YAAY,CAChC,KAAK,EAAE,YAAY,EACnB,WAAW,CAAC,EAAE,WAAW,EACzB,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAAC,YAAY,CAAC,CA2DvB"}
|