@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":"SoftwareTeamsPrFeedback.node.js","sourceRoot":"","sources":["../../../nodes/SoftwareTeamsPrFeedback/SoftwareTeamsPrFeedback.node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAOsB;AAGtB,gEAAkE;AAClE,iEAGyC;AAEzC,iDAAkD;AAElD;;;;;;;;;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ACxC,CACF,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
<!-- Chat/feedback bubble symbol -->
|
|
5
|
+
<path d="M18 18 h24 a2 2 0 0 1 2 2 v14 a2 2 0 0 1 -2 2 h-6 l-6 6 v-6 h-12 a2 2 0 0 1 -2 -2 v-14 a2 2 0 0 1 2 -2 z" fill="#FFFFFF" />
|
|
6
|
+
<!-- Arrow / return symbol inside bubble -->
|
|
7
|
+
<path d="M25 27 l5 -4 v2.5 h4 v3 h-4 v2.5 z" fill="#6B3FA0" />
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
+
/**
|
|
3
|
+
* Slack HITL (human-in-the-loop) state machine node (AC7, T10).
|
|
4
|
+
*
|
|
5
|
+
* ASK MODE (input has `status: 'needs-input'`): posts the agent's question to
|
|
6
|
+
* Slack via Block Kit, persists conversation state, then pauses n8n execution via
|
|
7
|
+
* `putExecutionToWait` (R-05 — survives worker restarts).
|
|
8
|
+
*
|
|
9
|
+
* RESUME MODE (input has `hitlAnswer` + `correlationId`): loads saved state,
|
|
10
|
+
* merges the human answer into context, calls runAgentTurn directly (T3 adapter),
|
|
11
|
+
* emits the continued envelope, and cleans up persisted state.
|
|
12
|
+
*
|
|
13
|
+
* PASS-THROUGH: status 'ok' or 'error' passes unchanged.
|
|
14
|
+
*/
|
|
15
|
+
export declare class SoftwareTeamsSlackHitl implements INodeType {
|
|
16
|
+
description: INodeTypeDescription;
|
|
17
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=SoftwareTeamsSlackHitl.node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SoftwareTeamsSlackHitl.node.d.ts","sourceRoot":"","sources":["../../../nodes/SoftwareTeamsSlackHitl/SoftwareTeamsSlackHitl.node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAGrB,MAAM,cAAc,CAAC;AAmDtB;;;;;;;;;;;;GAYG;AACH,qBAAa,sBAAuB,YAAW,SAAS;IACtD,WAAW,EAAE,oBAAoB,CAwC/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CA4KxE"}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoftwareTeamsSlackHitl = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const n8n_cast_1 = require("../../src/n8n-cast");
|
|
6
|
+
const SINGLE_TURN_MODULE = '../../src/execution/single-turn';
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
8
|
+
const { runAgentTurn } = require(SINGLE_TURN_MODULE);
|
|
9
|
+
const CONV_STATE_MODULE = '../../src/hitl/conversation-state';
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
11
|
+
const convState = require(CONV_STATE_MODULE);
|
|
12
|
+
const SLACK_MODULE = '../../src/hitl/slack';
|
|
13
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
14
|
+
const slackHelpers = require(SLACK_MODULE);
|
|
15
|
+
/**
|
|
16
|
+
* Slack HITL (human-in-the-loop) state machine node (AC7, T10).
|
|
17
|
+
*
|
|
18
|
+
* ASK MODE (input has `status: 'needs-input'`): posts the agent's question to
|
|
19
|
+
* Slack via Block Kit, persists conversation state, then pauses n8n execution via
|
|
20
|
+
* `putExecutionToWait` (R-05 — survives worker restarts).
|
|
21
|
+
*
|
|
22
|
+
* RESUME MODE (input has `hitlAnswer` + `correlationId`): loads saved state,
|
|
23
|
+
* merges the human answer into context, calls runAgentTurn directly (T3 adapter),
|
|
24
|
+
* emits the continued envelope, and cleans up persisted state.
|
|
25
|
+
*
|
|
26
|
+
* PASS-THROUGH: status 'ok' or 'error' passes unchanged.
|
|
27
|
+
*/
|
|
28
|
+
class SoftwareTeamsSlackHitl {
|
|
29
|
+
constructor() {
|
|
30
|
+
this.description = {
|
|
31
|
+
displayName: 'Software Teams Slack HITL',
|
|
32
|
+
name: 'softwareTeamsSlackHitl',
|
|
33
|
+
icon: 'file:softwareTeamsSlackHitl.svg',
|
|
34
|
+
group: ['transform'],
|
|
35
|
+
version: 1,
|
|
36
|
+
description: 'Slack human-in-the-loop state machine (AC7). ' +
|
|
37
|
+
'When an upstream agent returns needs-input, posts the question to Slack, ' +
|
|
38
|
+
'pauses the workflow, and resumes the same agent with the human\'s reply. ' +
|
|
39
|
+
'Conversation state survives restarts (R-05).',
|
|
40
|
+
subtitle: '={{ $parameter["slackChannel"] }}',
|
|
41
|
+
defaults: { name: 'Software Teams Slack HITL' },
|
|
42
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
43
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
44
|
+
credentials: [{ name: 'softwareTeamsApi', required: true }],
|
|
45
|
+
properties: [
|
|
46
|
+
{
|
|
47
|
+
displayName: 'Slack Channel',
|
|
48
|
+
name: 'slackChannel',
|
|
49
|
+
type: 'string',
|
|
50
|
+
default: '',
|
|
51
|
+
required: true,
|
|
52
|
+
description: 'Slack channel ID (e.g. C0123456) or name (e.g. #ai-questions) where ' +
|
|
53
|
+
'the agent question will be posted. The workflow pauses until a human ' +
|
|
54
|
+
'replies via the Slack interactivity handler.',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
displayName: 'Wait Timeout (Hours)',
|
|
58
|
+
name: 'waitTimeoutHours',
|
|
59
|
+
type: 'number',
|
|
60
|
+
default: 24,
|
|
61
|
+
description: 'Maximum hours to wait for a Slack reply before execution times out. ' +
|
|
62
|
+
'Set WEBHOOK_URL env var to the n8n public FQDN so the resume URL is ' +
|
|
63
|
+
'reachable from Slack\'s servers (see T2 research doc §Q5).',
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
usableAsTool: true,
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
async execute() {
|
|
70
|
+
var _a, _b;
|
|
71
|
+
const items = this.getInputData();
|
|
72
|
+
const returnData = [];
|
|
73
|
+
// Credentials (R-02: NEVER written to output)
|
|
74
|
+
const credentials = await this.getCredentials('softwareTeamsApi');
|
|
75
|
+
const slackToken = credentials['slackBotToken'];
|
|
76
|
+
const slackChannel = this.getNodeParameter('slackChannel', 0, '');
|
|
77
|
+
const waitTimeoutHours = this.getNodeParameter('waitTimeoutHours', 0, 24);
|
|
78
|
+
if (!slackToken) {
|
|
79
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Slack Bot Token is not set. Add a Slack Bot OAuth token (xoxb-…) to ' +
|
|
80
|
+
'the SoftwareTeamsApi credential under "Slack Bot Token".');
|
|
81
|
+
}
|
|
82
|
+
const itemCount = items.length > 0 ? items.length : 1;
|
|
83
|
+
// n8n per-item + continueOnFail pattern; entries() avoids a let counter.
|
|
84
|
+
for (const [i] of Array.from({ length: itemCount }).entries()) {
|
|
85
|
+
try {
|
|
86
|
+
const data = ((_b = (_a = items[i]) === null || _a === void 0 ? void 0 : _a.json) !== null && _b !== void 0 ? _b : {});
|
|
87
|
+
// RESUME MODE — resume webhook payload contains `hitlAnswer` + `correlationId`
|
|
88
|
+
if (typeof data['hitlAnswer'] === 'string' &&
|
|
89
|
+
typeof data['correlationId'] === 'string') {
|
|
90
|
+
const hitlAnswer = data['hitlAnswer'];
|
|
91
|
+
const correlationId = data['correlationId'];
|
|
92
|
+
const state = convState.loadState(correlationId);
|
|
93
|
+
if (!state) {
|
|
94
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `HITL resume: no conversation state found for correlationId "${correlationId}". ` +
|
|
95
|
+
'Ensure the HITL state file (HITL_STATE_PATH) is on persistent storage ' +
|
|
96
|
+
'shared between the ask and resume execution contexts.', { itemIndex: i });
|
|
97
|
+
}
|
|
98
|
+
// Non-fatal Slack acknowledgement — ack failure must not block agent resume.
|
|
99
|
+
try {
|
|
100
|
+
await slackHelpers.postThreadReply(slackToken, state.slackChannel, state.slackThreadTs, `✅ Reply received: _"${hitlAnswer}"_ — resuming agent...`);
|
|
101
|
+
}
|
|
102
|
+
catch {
|
|
103
|
+
// intentionally swallowed
|
|
104
|
+
}
|
|
105
|
+
const originalContext = state.originalEnvelope.input.context;
|
|
106
|
+
const mergedContext = {
|
|
107
|
+
...(typeof originalContext === 'object' &&
|
|
108
|
+
originalContext !== null &&
|
|
109
|
+
!Array.isArray(originalContext)
|
|
110
|
+
? originalContext
|
|
111
|
+
: { originalContext }),
|
|
112
|
+
hitl: {
|
|
113
|
+
question: state.question,
|
|
114
|
+
answer: hitlAnswer,
|
|
115
|
+
},
|
|
116
|
+
};
|
|
117
|
+
const resumeEnvelope = {
|
|
118
|
+
...state.originalEnvelope,
|
|
119
|
+
status: 'ok',
|
|
120
|
+
input: {
|
|
121
|
+
prompt: state.originalEnvelope.input.prompt,
|
|
122
|
+
context: mergedContext,
|
|
123
|
+
},
|
|
124
|
+
result: { text: '' },
|
|
125
|
+
};
|
|
126
|
+
const agentResult = await runAgentTurn(resumeEnvelope).catch((err) => {
|
|
127
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `HITL resume: runAgentTurn failed: ${err instanceof Error ? err.message : String(err)}`, { itemIndex: i });
|
|
128
|
+
});
|
|
129
|
+
// Clean up persisted state after successful resume (idempotent, non-fatal).
|
|
130
|
+
try {
|
|
131
|
+
convState.deleteState(correlationId);
|
|
132
|
+
}
|
|
133
|
+
catch {
|
|
134
|
+
// stale state is benign
|
|
135
|
+
}
|
|
136
|
+
returnData.push({
|
|
137
|
+
json: (0, n8n_cast_1.toDataObject)(agentResult),
|
|
138
|
+
pairedItem: { item: i },
|
|
139
|
+
});
|
|
140
|
+
continue;
|
|
141
|
+
}
|
|
142
|
+
// ASK MODE — upstream NodeEnvelope has status 'needs-input'
|
|
143
|
+
const envelope = (0, n8n_cast_1.fromDataObject)(items[i].json);
|
|
144
|
+
if (envelope.status !== 'needs-input') {
|
|
145
|
+
returnData.push({ json: (0, n8n_cast_1.toDataObject)(data), pairedItem: { item: i } });
|
|
146
|
+
continue;
|
|
147
|
+
}
|
|
148
|
+
const question = envelope.result.text;
|
|
149
|
+
const correlationId = envelope.correlationId;
|
|
150
|
+
// Security (R-05): WEBHOOK_URL must be set to the public FQDN of this n8n
|
|
151
|
+
// instance so the resume URL is reachable from Slack's servers (not localhost).
|
|
152
|
+
const resumeUrl = this.getSignedResumeUrl();
|
|
153
|
+
const { ts: slackTs, channel: resolvedChannel } = await slackHelpers
|
|
154
|
+
.postQuestion(slackToken, slackChannel, question, correlationId, resumeUrl)
|
|
155
|
+
.catch((err) => {
|
|
156
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Failed to post agent question to Slack: ${err instanceof Error ? err.message : String(err)}`, { itemIndex: i });
|
|
157
|
+
});
|
|
158
|
+
convState.saveState({
|
|
159
|
+
correlationId,
|
|
160
|
+
originalEnvelope: envelope,
|
|
161
|
+
slackChannel: resolvedChannel,
|
|
162
|
+
slackThreadTs: slackTs,
|
|
163
|
+
resumeUrl,
|
|
164
|
+
question,
|
|
165
|
+
createdAt: Date.now(),
|
|
166
|
+
});
|
|
167
|
+
const waitTill = new Date(Date.now() + waitTimeoutHours * 60 * 60 * 1000);
|
|
168
|
+
await this.putExecutionToWait(waitTill);
|
|
169
|
+
returnData.push({
|
|
170
|
+
json: (0, n8n_cast_1.toDataObject)({
|
|
171
|
+
...envelope,
|
|
172
|
+
hitl: {
|
|
173
|
+
question,
|
|
174
|
+
slackChannel: resolvedChannel,
|
|
175
|
+
slackThreadTs: slackTs,
|
|
176
|
+
resumeUrl,
|
|
177
|
+
},
|
|
178
|
+
}),
|
|
179
|
+
pairedItem: { item: i },
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
catch (err) {
|
|
183
|
+
if (this.continueOnFail()) {
|
|
184
|
+
returnData.push({
|
|
185
|
+
json: { error: err instanceof Error ? err.message : String(err) },
|
|
186
|
+
pairedItem: { item: i },
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
else {
|
|
190
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), err instanceof Error ? err.message : String(err));
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
return [returnData];
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
exports.SoftwareTeamsSlackHitl = SoftwareTeamsSlackHitl;
|
|
198
|
+
//# sourceMappingURL=SoftwareTeamsSlackHitl.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SoftwareTeamsSlackHitl.node.js","sourceRoot":"","sources":["../../../nodes/SoftwareTeamsSlackHitl/SoftwareTeamsSlackHitl.node.ts"],"names":[],"mappings":";;;AAAA,+CAOsB;AAEtB,iDAAkE;AAIlE,MAAM,kBAAkB,GAAW,iCAAiC,CAAC;AACrE,iEAAiE;AACjE,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,kBAAkB,CAElD,CAAC;AAWF,MAAM,iBAAiB,GAAW,mCAAmC,CAAC;AACtE,iEAAiE;AACjE,MAAM,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAI1C,CAAC;AAMF,MAAM,YAAY,GAAW,sBAAsB,CAAC;AACpD,iEAAiE;AACjE,MAAM,YAAY,GAAG,OAAO,CAAC,YAAY,CAcxC,CAAC;AAEF;;;;;;;;;;;;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,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CACjD,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACtB,CAAC;CACF;AAvND,wDAuNC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" width="60" height="60">
|
|
2
|
+
<!-- Background rounded rectangle — Slack-purple tone -->
|
|
3
|
+
<rect width="60" height="60" rx="10" ry="10" fill="#4A154B"/>
|
|
4
|
+
<!-- Speech bubble body -->
|
|
5
|
+
<rect x="8" y="10" width="38" height="26" rx="6" ry="6" fill="none" stroke="white" stroke-width="2.5"/>
|
|
6
|
+
<!-- Speech bubble tail -->
|
|
7
|
+
<path d="M14 36 L10 46 L22 38" fill="none" stroke="white" stroke-width="2.5" stroke-linejoin="round"/>
|
|
8
|
+
<!-- Checkmark inside bubble (✓) — represents human approval / reply -->
|
|
9
|
+
<polyline points="16,24 23,31 36,19" fill="none" stroke="#ECB22E" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from "n8n-workflow";
|
|
2
|
+
export declare class SoftwareTeamsTrigger implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=SoftwareTeamsTrigger.node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SoftwareTeamsTrigger.node.d.ts","sourceRoot":"","sources":["../../../nodes/SoftwareTeamsTrigger/SoftwareTeamsTrigger.node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAGrB,MAAM,cAAc,CAAC;AAmBtB,qBAAa,oBAAqB,YAAW,SAAS;IACpD,WAAW,EAAE,oBAAoB,CA0F/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CAmDxE"}
|