@loopstack/github-oauth-example 0.1.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/README.md +114 -0
- package/dist/github-example.module.d.ts +3 -0
- package/dist/github-example.module.d.ts.map +1 -0
- package/dist/github-example.module.js +27 -0
- package/dist/github-example.module.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/tools/authenticate-github-task.tool.d.ts +17 -0
- package/dist/tools/authenticate-github-task.tool.d.ts.map +1 -0
- package/dist/tools/authenticate-github-task.tool.js +107 -0
- package/dist/tools/authenticate-github-task.tool.js.map +1 -0
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +18 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/workflows/github-agent.workflow.d.ts +48 -0
- package/dist/workflows/github-agent.workflow.d.ts.map +1 -0
- package/dist/workflows/github-agent.workflow.js +215 -0
- package/dist/workflows/github-agent.workflow.js.map +1 -0
- package/dist/workflows/github-agent.workflow.yaml +154 -0
- package/dist/workflows/github-repos-overview.workflow.d.ts +102 -0
- package/dist/workflows/github-repos-overview.workflow.d.ts.map +1 -0
- package/dist/workflows/github-repos-overview.workflow.js +300 -0
- package/dist/workflows/github-repos-overview.workflow.js.map +1 -0
- package/dist/workflows/github-repos-overview.workflow.yaml +249 -0
- package/dist/workflows/index.d.ts +3 -0
- package/dist/workflows/index.d.ts.map +1 -0
- package/dist/workflows/index.js +19 -0
- package/dist/workflows/index.js.map +1 -0
- package/package.json +80 -0
- package/src/github-example.module.ts +14 -0
- package/src/index.ts +3 -0
- package/src/tools/authenticate-github-task.tool.ts +125 -0
- package/src/tools/index.ts +1 -0
- package/src/workflows/__tests__/github-repos-overview-workflow.spec.ts +725 -0
- package/src/workflows/github-agent.workflow.ts +118 -0
- package/src/workflows/github-agent.workflow.yaml +154 -0
- package/src/workflows/github-repos-overview.workflow.ts +254 -0
- package/src/workflows/github-repos-overview.workflow.yaml +249 -0
- package/src/workflows/index.ts +2 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
title: 'GitHub Agent'
|
|
2
|
+
|
|
3
|
+
description: |
|
|
4
|
+
An interactive chat agent with access to GitHub.
|
|
5
|
+
Ask it to manage repositories, issues, pull requests, browse code, check CI/CD status,
|
|
6
|
+
search across GitHub, and more. Handles OAuth authentication automatically when needed —
|
|
7
|
+
the agent detects unauthorized errors and launches authentication on its own.
|
|
8
|
+
|
|
9
|
+
ui:
|
|
10
|
+
actions:
|
|
11
|
+
- type: custom
|
|
12
|
+
widget: prompt-input
|
|
13
|
+
enabledWhen:
|
|
14
|
+
- waiting_for_user
|
|
15
|
+
options:
|
|
16
|
+
transition: user_message
|
|
17
|
+
label: Send Message
|
|
18
|
+
|
|
19
|
+
transitions:
|
|
20
|
+
- id: setup
|
|
21
|
+
from: start
|
|
22
|
+
to: waiting_for_user
|
|
23
|
+
call:
|
|
24
|
+
- tool: createDocument
|
|
25
|
+
args:
|
|
26
|
+
document: claudeMessageDocument
|
|
27
|
+
update:
|
|
28
|
+
meta:
|
|
29
|
+
hidden: true
|
|
30
|
+
content:
|
|
31
|
+
role: user
|
|
32
|
+
content: |
|
|
33
|
+
You are a helpful GitHub assistant. You have access to the user's
|
|
34
|
+
GitHub account through the tools provided to you.
|
|
35
|
+
|
|
36
|
+
You can help with:
|
|
37
|
+
- **Repositories**: List repos, get repo details, create repos, list branches
|
|
38
|
+
- **Issues**: List issues, get issue details, create issues, comment on issues
|
|
39
|
+
- **Pull Requests**: List PRs, get PR details, create PRs, merge PRs, list reviews
|
|
40
|
+
- **Code & Content**: Read files, create/update files, browse directories, view commits
|
|
41
|
+
- **Actions (CI/CD)**: List workflow runs, trigger workflows, check run status
|
|
42
|
+
- **Search**: Search code, repositories, and issues across GitHub
|
|
43
|
+
- **Users & Orgs**: Get user profile, list organizations
|
|
44
|
+
|
|
45
|
+
When a tool returns `{ error: "unauthorized" }` or `{ error: "401" }`, call the
|
|
46
|
+
`authenticateGitHub` tool with the required OAuth scopes to let the user sign in.
|
|
47
|
+
After authentication completes, retry the original request.
|
|
48
|
+
|
|
49
|
+
Common scopes: repo, user, workflow, read:org
|
|
50
|
+
|
|
51
|
+
IMPORTANT: When using authenticateGitHub, it must be the ONLY tool call in your response.
|
|
52
|
+
|
|
53
|
+
Be concise and helpful. Format results clearly using markdown.
|
|
54
|
+
When showing repository or issue information, include links where available.
|
|
55
|
+
|
|
56
|
+
- id: user_message
|
|
57
|
+
from: waiting_for_user
|
|
58
|
+
to: ready
|
|
59
|
+
trigger: manual
|
|
60
|
+
call:
|
|
61
|
+
- tool: createDocument
|
|
62
|
+
args:
|
|
63
|
+
document: claudeMessageDocument
|
|
64
|
+
update:
|
|
65
|
+
content:
|
|
66
|
+
role: user
|
|
67
|
+
content: ${{ runtime.transition.payload }}
|
|
68
|
+
|
|
69
|
+
- id: llm_turn
|
|
70
|
+
from: ready
|
|
71
|
+
to: prompt_executed
|
|
72
|
+
call:
|
|
73
|
+
- id: llm_call
|
|
74
|
+
tool: claudeGenerateText
|
|
75
|
+
args:
|
|
76
|
+
system: |
|
|
77
|
+
You are a helpful GitHub assistant with access to repository, issue, PR, code, actions,
|
|
78
|
+
and search tools. When a tool returns an unauthorized error, use authenticateGitHub
|
|
79
|
+
to let the user sign in, then retry. Be concise and format results using markdown.
|
|
80
|
+
claude:
|
|
81
|
+
model: claude-sonnet-4-6
|
|
82
|
+
messagesSearchTag: message
|
|
83
|
+
tools:
|
|
84
|
+
- gitHubListRepos
|
|
85
|
+
- gitHubGetRepo
|
|
86
|
+
- gitHubCreateRepo
|
|
87
|
+
- gitHubListBranches
|
|
88
|
+
- gitHubListIssues
|
|
89
|
+
- gitHubGetIssue
|
|
90
|
+
- gitHubCreateIssue
|
|
91
|
+
- gitHubCreateIssueComment
|
|
92
|
+
- gitHubListPullRequests
|
|
93
|
+
- gitHubGetPullRequest
|
|
94
|
+
- gitHubCreatePullRequest
|
|
95
|
+
- gitHubMergePullRequest
|
|
96
|
+
- gitHubListPrReviews
|
|
97
|
+
- gitHubGetFileContent
|
|
98
|
+
- gitHubCreateOrUpdateFile
|
|
99
|
+
- gitHubListDirectory
|
|
100
|
+
- gitHubGetCommit
|
|
101
|
+
- gitHubListWorkflowRuns
|
|
102
|
+
- gitHubTriggerWorkflow
|
|
103
|
+
- gitHubGetWorkflowRun
|
|
104
|
+
- gitHubSearchCode
|
|
105
|
+
- gitHubSearchRepos
|
|
106
|
+
- gitHubSearchIssues
|
|
107
|
+
- gitHubGetAuthenticatedUser
|
|
108
|
+
- gitHubListUserOrgs
|
|
109
|
+
- authenticateGitHub
|
|
110
|
+
assign:
|
|
111
|
+
llmResult: ${{ result.data }}
|
|
112
|
+
|
|
113
|
+
- id: execute_tool_calls
|
|
114
|
+
from: prompt_executed
|
|
115
|
+
to: awaiting_tools
|
|
116
|
+
if: ${{ state.llmResult.stop_reason == 'tool_use' }}
|
|
117
|
+
call:
|
|
118
|
+
- tool: delegateToolCalls
|
|
119
|
+
args:
|
|
120
|
+
message: ${{ state.llmResult }}
|
|
121
|
+
document: claudeMessageDocument
|
|
122
|
+
callback:
|
|
123
|
+
transition: tool_result_received
|
|
124
|
+
assign:
|
|
125
|
+
delegateResult: ${{ result.data }}
|
|
126
|
+
|
|
127
|
+
- id: tool_result_received
|
|
128
|
+
from: awaiting_tools
|
|
129
|
+
to: awaiting_tools
|
|
130
|
+
trigger: manual
|
|
131
|
+
call:
|
|
132
|
+
- tool: updateToolResult
|
|
133
|
+
args:
|
|
134
|
+
delegateResult: ${{ state.delegateResult }}
|
|
135
|
+
completedTool: ${{ runtime.transition.payload }}
|
|
136
|
+
document: claudeMessageDocument
|
|
137
|
+
assign:
|
|
138
|
+
delegateResult: ${{ result.data }}
|
|
139
|
+
|
|
140
|
+
- id: all_tools_complete
|
|
141
|
+
from: awaiting_tools
|
|
142
|
+
to: ready
|
|
143
|
+
if: ${{ state.delegateResult.allCompleted }}
|
|
144
|
+
|
|
145
|
+
- id: respond
|
|
146
|
+
from: prompt_executed
|
|
147
|
+
to: waiting_for_user
|
|
148
|
+
call:
|
|
149
|
+
- tool: createDocument
|
|
150
|
+
args:
|
|
151
|
+
id: ${{ state.llmResult.id }}
|
|
152
|
+
document: claudeMessageDocument
|
|
153
|
+
update:
|
|
154
|
+
content: ${{ state.llmResult }}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { WorkflowInterface } from '@loopstack/common';
|
|
2
|
+
import { OAuthWorkflow } from '@loopstack/oauth-module';
|
|
3
|
+
export declare class GitHubReposOverviewWorkflow implements WorkflowInterface {
|
|
4
|
+
private task;
|
|
5
|
+
private createDocument;
|
|
6
|
+
private createChatMessage;
|
|
7
|
+
private gitHubGetAuthenticatedUser;
|
|
8
|
+
private gitHubListUserOrgs;
|
|
9
|
+
private gitHubListRepos;
|
|
10
|
+
private gitHubGetRepo;
|
|
11
|
+
private gitHubCreateRepo;
|
|
12
|
+
private gitHubListBranches;
|
|
13
|
+
private gitHubListIssues;
|
|
14
|
+
private gitHubGetIssue;
|
|
15
|
+
private gitHubCreateIssue;
|
|
16
|
+
private gitHubCreateIssueComment;
|
|
17
|
+
private gitHubListPullRequests;
|
|
18
|
+
private gitHubGetPullRequest;
|
|
19
|
+
private gitHubCreatePullRequest;
|
|
20
|
+
private gitHubMergePullRequest;
|
|
21
|
+
private gitHubListPrReviews;
|
|
22
|
+
private gitHubGetFileContent;
|
|
23
|
+
private gitHubCreateOrUpdateFile;
|
|
24
|
+
private gitHubListDirectory;
|
|
25
|
+
private gitHubGetCommit;
|
|
26
|
+
private gitHubListWorkflowRuns;
|
|
27
|
+
private gitHubTriggerWorkflow;
|
|
28
|
+
private gitHubGetWorkflowRun;
|
|
29
|
+
private gitHubSearchCode;
|
|
30
|
+
private gitHubSearchRepos;
|
|
31
|
+
private gitHubSearchIssues;
|
|
32
|
+
private linkDocument;
|
|
33
|
+
private markdown;
|
|
34
|
+
oAuth: OAuthWorkflow;
|
|
35
|
+
args: {
|
|
36
|
+
owner: string;
|
|
37
|
+
repo: string;
|
|
38
|
+
};
|
|
39
|
+
context: any;
|
|
40
|
+
runtime: any;
|
|
41
|
+
state: {
|
|
42
|
+
requiresAuthentication?: boolean;
|
|
43
|
+
user?: {
|
|
44
|
+
login: string;
|
|
45
|
+
name: string | null;
|
|
46
|
+
htmlUrl: string;
|
|
47
|
+
publicRepos: number;
|
|
48
|
+
};
|
|
49
|
+
orgs?: Array<{
|
|
50
|
+
login: string;
|
|
51
|
+
description: string | null;
|
|
52
|
+
}>;
|
|
53
|
+
repo?: {
|
|
54
|
+
fullName: string;
|
|
55
|
+
description: string | null;
|
|
56
|
+
language: string | null;
|
|
57
|
+
stars: number;
|
|
58
|
+
forks: number;
|
|
59
|
+
openIssues: number;
|
|
60
|
+
defaultBranch: string;
|
|
61
|
+
htmlUrl: string;
|
|
62
|
+
};
|
|
63
|
+
branches?: Array<{
|
|
64
|
+
name: string;
|
|
65
|
+
protected: boolean;
|
|
66
|
+
}>;
|
|
67
|
+
issues?: Array<{
|
|
68
|
+
number: number;
|
|
69
|
+
title: string;
|
|
70
|
+
state: string;
|
|
71
|
+
user: string;
|
|
72
|
+
htmlUrl: string;
|
|
73
|
+
}>;
|
|
74
|
+
pullRequests?: Array<{
|
|
75
|
+
number: number;
|
|
76
|
+
title: string;
|
|
77
|
+
state: string;
|
|
78
|
+
user: string;
|
|
79
|
+
draft: boolean;
|
|
80
|
+
htmlUrl: string;
|
|
81
|
+
}>;
|
|
82
|
+
directoryEntries?: Array<{
|
|
83
|
+
name: string;
|
|
84
|
+
type: string;
|
|
85
|
+
path: string;
|
|
86
|
+
}>;
|
|
87
|
+
workflowRuns?: Array<{
|
|
88
|
+
id: number;
|
|
89
|
+
name: string;
|
|
90
|
+
status: string;
|
|
91
|
+
conclusion: string | null;
|
|
92
|
+
htmlUrl: string;
|
|
93
|
+
}>;
|
|
94
|
+
searchResults?: Array<{
|
|
95
|
+
name: string;
|
|
96
|
+
path: string;
|
|
97
|
+
repository: string;
|
|
98
|
+
}>;
|
|
99
|
+
};
|
|
100
|
+
searchQuery(): string;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=github-repos-overview.workflow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"github-repos-overview.workflow.d.ts","sourceRoot":"","sources":["../../src/workflows/github-repos-overview.workflow.ts"],"names":[],"mappings":"AAEA,OAAO,EAUL,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AA8B3B,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,qBAIa,2BAA4B,YAAW,iBAAiB;IAErD,OAAO,CAAC,IAAI,CAAO;IACnB,OAAO,CAAC,cAAc,CAAiB;IACvC,OAAO,CAAC,iBAAiB,CAAoB;IAG7C,OAAO,CAAC,0BAA0B,CAAiC;IACnE,OAAO,CAAC,kBAAkB,CAAyB;IAGnD,OAAO,CAAC,eAAe,CAAsB;IAC7C,OAAO,CAAC,aAAa,CAAoB;IACzC,OAAO,CAAC,gBAAgB,CAAuB;IAC/C,OAAO,CAAC,kBAAkB,CAAyB;IAGnD,OAAO,CAAC,gBAAgB,CAAuB;IAC/C,OAAO,CAAC,cAAc,CAAqB;IAC3C,OAAO,CAAC,iBAAiB,CAAwB;IACjD,OAAO,CAAC,wBAAwB,CAA+B;IAG/D,OAAO,CAAC,sBAAsB,CAA6B;IAC3D,OAAO,CAAC,oBAAoB,CAA2B;IACvD,OAAO,CAAC,uBAAuB,CAA8B;IAC7D,OAAO,CAAC,sBAAsB,CAA6B;IAC3D,OAAO,CAAC,mBAAmB,CAA0B;IAGrD,OAAO,CAAC,oBAAoB,CAA2B;IACvD,OAAO,CAAC,wBAAwB,CAA+B;IAC/D,OAAO,CAAC,mBAAmB,CAA0B;IACrD,OAAO,CAAC,eAAe,CAAsB;IAG7C,OAAO,CAAC,sBAAsB,CAA6B;IA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AE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QAChG,YAAY,CAAC,EAAE,KAAK,CAAC;YACnB,MAAM,EAAE,MAAM,CAAC;YACf,KAAK,EAAE,MAAM,CAAC;YACd,KAAK,EAAE,MAAM,CAAC;YACd,IAAI,EAAE,MAAM,CAAC;YACb,KAAK,EAAE,OAAO,CAAC;YACf,OAAO,EAAE,MAAM,CAAC;SACjB,CAAC,CAAC;QACH,gBAAgB,CAAC,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QACvE,YAAY,CAAC,EAAE,KAAK,CAAC;YACnB,EAAE,EAAE,MAAM,CAAC;YACX,IAAI,EAAE,MAAM,CAAC;YACb,MAAM,EAAE,MAAM,CAAC;YACf,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;YAC1B,OAAO,EAAE,MAAM,CAAC;SACjB,CAAC,CAAC;QACH,aAAa,CAAC,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,UAAU,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KAC3E,CAAC;IAGF,WAAW;CAGZ"}
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GitHubReposOverviewWorkflow = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const zod_1 = require("zod");
|
|
15
|
+
const common_2 = require("@loopstack/common");
|
|
16
|
+
const core_1 = require("@loopstack/core");
|
|
17
|
+
const create_chat_message_tool_1 = require("@loopstack/create-chat-message-tool");
|
|
18
|
+
const github_module_1 = require("@loopstack/github-module");
|
|
19
|
+
const oauth_module_1 = require("@loopstack/oauth-module");
|
|
20
|
+
let GitHubReposOverviewWorkflow = class GitHubReposOverviewWorkflow {
|
|
21
|
+
task;
|
|
22
|
+
createDocument;
|
|
23
|
+
createChatMessage;
|
|
24
|
+
gitHubGetAuthenticatedUser;
|
|
25
|
+
gitHubListUserOrgs;
|
|
26
|
+
gitHubListRepos;
|
|
27
|
+
gitHubGetRepo;
|
|
28
|
+
gitHubCreateRepo;
|
|
29
|
+
gitHubListBranches;
|
|
30
|
+
gitHubListIssues;
|
|
31
|
+
gitHubGetIssue;
|
|
32
|
+
gitHubCreateIssue;
|
|
33
|
+
gitHubCreateIssueComment;
|
|
34
|
+
gitHubListPullRequests;
|
|
35
|
+
gitHubGetPullRequest;
|
|
36
|
+
gitHubCreatePullRequest;
|
|
37
|
+
gitHubMergePullRequest;
|
|
38
|
+
gitHubListPrReviews;
|
|
39
|
+
gitHubGetFileContent;
|
|
40
|
+
gitHubCreateOrUpdateFile;
|
|
41
|
+
gitHubListDirectory;
|
|
42
|
+
gitHubGetCommit;
|
|
43
|
+
gitHubListWorkflowRuns;
|
|
44
|
+
gitHubTriggerWorkflow;
|
|
45
|
+
gitHubGetWorkflowRun;
|
|
46
|
+
gitHubSearchCode;
|
|
47
|
+
gitHubSearchRepos;
|
|
48
|
+
gitHubSearchIssues;
|
|
49
|
+
linkDocument;
|
|
50
|
+
markdown;
|
|
51
|
+
oAuth;
|
|
52
|
+
args;
|
|
53
|
+
context;
|
|
54
|
+
runtime;
|
|
55
|
+
state;
|
|
56
|
+
searchQuery() {
|
|
57
|
+
return `repo:${this.args.owner}/${this.args.repo}`;
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
exports.GitHubReposOverviewWorkflow = GitHubReposOverviewWorkflow;
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, common_2.InjectTool)(),
|
|
63
|
+
__metadata("design:type", core_1.Task)
|
|
64
|
+
], GitHubReposOverviewWorkflow.prototype, "task", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, common_2.InjectTool)(),
|
|
67
|
+
__metadata("design:type", core_1.CreateDocument)
|
|
68
|
+
], GitHubReposOverviewWorkflow.prototype, "createDocument", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, common_2.InjectTool)(),
|
|
71
|
+
__metadata("design:type", create_chat_message_tool_1.CreateChatMessage)
|
|
72
|
+
], GitHubReposOverviewWorkflow.prototype, "createChatMessage", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, common_2.InjectTool)(),
|
|
75
|
+
__metadata("design:type", github_module_1.GitHubGetAuthenticatedUserTool)
|
|
76
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubGetAuthenticatedUser", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, common_2.InjectTool)(),
|
|
79
|
+
__metadata("design:type", github_module_1.GitHubListUserOrgsTool)
|
|
80
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubListUserOrgs", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, common_2.InjectTool)(),
|
|
83
|
+
__metadata("design:type", github_module_1.GitHubListReposTool)
|
|
84
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubListRepos", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, common_2.InjectTool)(),
|
|
87
|
+
__metadata("design:type", github_module_1.GitHubGetRepoTool)
|
|
88
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubGetRepo", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, common_2.InjectTool)(),
|
|
91
|
+
__metadata("design:type", github_module_1.GitHubCreateRepoTool)
|
|
92
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubCreateRepo", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, common_2.InjectTool)(),
|
|
95
|
+
__metadata("design:type", github_module_1.GitHubListBranchesTool)
|
|
96
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubListBranches", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, common_2.InjectTool)(),
|
|
99
|
+
__metadata("design:type", github_module_1.GitHubListIssuesTool)
|
|
100
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubListIssues", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, common_2.InjectTool)(),
|
|
103
|
+
__metadata("design:type", github_module_1.GitHubGetIssueTool)
|
|
104
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubGetIssue", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, common_2.InjectTool)(),
|
|
107
|
+
__metadata("design:type", github_module_1.GitHubCreateIssueTool)
|
|
108
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubCreateIssue", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, common_2.InjectTool)(),
|
|
111
|
+
__metadata("design:type", github_module_1.GitHubCreateIssueCommentTool)
|
|
112
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubCreateIssueComment", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, common_2.InjectTool)(),
|
|
115
|
+
__metadata("design:type", github_module_1.GitHubListPullRequestsTool)
|
|
116
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubListPullRequests", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, common_2.InjectTool)(),
|
|
119
|
+
__metadata("design:type", github_module_1.GitHubGetPullRequestTool)
|
|
120
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubGetPullRequest", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, common_2.InjectTool)(),
|
|
123
|
+
__metadata("design:type", github_module_1.GitHubCreatePullRequestTool)
|
|
124
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubCreatePullRequest", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
(0, common_2.InjectTool)(),
|
|
127
|
+
__metadata("design:type", github_module_1.GitHubMergePullRequestTool)
|
|
128
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubMergePullRequest", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, common_2.InjectTool)(),
|
|
131
|
+
__metadata("design:type", github_module_1.GitHubListPrReviewsTool)
|
|
132
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubListPrReviews", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, common_2.InjectTool)(),
|
|
135
|
+
__metadata("design:type", github_module_1.GitHubGetFileContentTool)
|
|
136
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubGetFileContent", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
(0, common_2.InjectTool)(),
|
|
139
|
+
__metadata("design:type", github_module_1.GitHubCreateOrUpdateFileTool)
|
|
140
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubCreateOrUpdateFile", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, common_2.InjectTool)(),
|
|
143
|
+
__metadata("design:type", github_module_1.GitHubListDirectoryTool)
|
|
144
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubListDirectory", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, common_2.InjectTool)(),
|
|
147
|
+
__metadata("design:type", github_module_1.GitHubGetCommitTool)
|
|
148
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubGetCommit", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, common_2.InjectTool)(),
|
|
151
|
+
__metadata("design:type", github_module_1.GitHubListWorkflowRunsTool)
|
|
152
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubListWorkflowRuns", void 0);
|
|
153
|
+
__decorate([
|
|
154
|
+
(0, common_2.InjectTool)(),
|
|
155
|
+
__metadata("design:type", github_module_1.GitHubTriggerWorkflowTool)
|
|
156
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubTriggerWorkflow", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, common_2.InjectTool)(),
|
|
159
|
+
__metadata("design:type", github_module_1.GitHubGetWorkflowRunTool)
|
|
160
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubGetWorkflowRun", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, common_2.InjectTool)(),
|
|
163
|
+
__metadata("design:type", github_module_1.GitHubSearchCodeTool)
|
|
164
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubSearchCode", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
(0, common_2.InjectTool)(),
|
|
167
|
+
__metadata("design:type", github_module_1.GitHubSearchReposTool)
|
|
168
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubSearchRepos", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, common_2.InjectTool)(),
|
|
171
|
+
__metadata("design:type", github_module_1.GitHubSearchIssuesTool)
|
|
172
|
+
], GitHubReposOverviewWorkflow.prototype, "gitHubSearchIssues", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
(0, common_2.InjectDocument)(),
|
|
175
|
+
__metadata("design:type", core_1.LinkDocument)
|
|
176
|
+
], GitHubReposOverviewWorkflow.prototype, "linkDocument", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, common_2.InjectDocument)(),
|
|
179
|
+
__metadata("design:type", core_1.MarkdownDocument)
|
|
180
|
+
], GitHubReposOverviewWorkflow.prototype, "markdown", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, common_2.InjectWorkflow)(),
|
|
183
|
+
__metadata("design:type", oauth_module_1.OAuthWorkflow)
|
|
184
|
+
], GitHubReposOverviewWorkflow.prototype, "oAuth", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, common_2.Input)({
|
|
187
|
+
schema: zod_1.z
|
|
188
|
+
.object({
|
|
189
|
+
owner: zod_1.z.string().default('octocat'),
|
|
190
|
+
repo: zod_1.z.string().default('Hello-World'),
|
|
191
|
+
})
|
|
192
|
+
.strict(),
|
|
193
|
+
}),
|
|
194
|
+
__metadata("design:type", Object)
|
|
195
|
+
], GitHubReposOverviewWorkflow.prototype, "args", void 0);
|
|
196
|
+
__decorate([
|
|
197
|
+
(0, common_2.Context)(),
|
|
198
|
+
__metadata("design:type", Object)
|
|
199
|
+
], GitHubReposOverviewWorkflow.prototype, "context", void 0);
|
|
200
|
+
__decorate([
|
|
201
|
+
(0, common_2.Runtime)(),
|
|
202
|
+
__metadata("design:type", Object)
|
|
203
|
+
], GitHubReposOverviewWorkflow.prototype, "runtime", void 0);
|
|
204
|
+
__decorate([
|
|
205
|
+
(0, common_2.State)({
|
|
206
|
+
schema: zod_1.z
|
|
207
|
+
.object({
|
|
208
|
+
requiresAuthentication: zod_1.z.boolean().optional(),
|
|
209
|
+
user: zod_1.z
|
|
210
|
+
.object({
|
|
211
|
+
login: zod_1.z.string(),
|
|
212
|
+
name: zod_1.z.string().nullable(),
|
|
213
|
+
htmlUrl: zod_1.z.string(),
|
|
214
|
+
publicRepos: zod_1.z.number(),
|
|
215
|
+
})
|
|
216
|
+
.optional(),
|
|
217
|
+
orgs: zod_1.z
|
|
218
|
+
.array(zod_1.z.object({
|
|
219
|
+
login: zod_1.z.string(),
|
|
220
|
+
description: zod_1.z.string().nullable(),
|
|
221
|
+
}))
|
|
222
|
+
.optional(),
|
|
223
|
+
repo: zod_1.z
|
|
224
|
+
.object({
|
|
225
|
+
fullName: zod_1.z.string(),
|
|
226
|
+
description: zod_1.z.string().nullable(),
|
|
227
|
+
language: zod_1.z.string().nullable(),
|
|
228
|
+
stars: zod_1.z.number(),
|
|
229
|
+
forks: zod_1.z.number(),
|
|
230
|
+
openIssues: zod_1.z.number(),
|
|
231
|
+
defaultBranch: zod_1.z.string(),
|
|
232
|
+
htmlUrl: zod_1.z.string(),
|
|
233
|
+
})
|
|
234
|
+
.optional(),
|
|
235
|
+
branches: zod_1.z
|
|
236
|
+
.array(zod_1.z.object({
|
|
237
|
+
name: zod_1.z.string(),
|
|
238
|
+
protected: zod_1.z.boolean(),
|
|
239
|
+
}))
|
|
240
|
+
.optional(),
|
|
241
|
+
issues: zod_1.z
|
|
242
|
+
.array(zod_1.z.object({
|
|
243
|
+
number: zod_1.z.number(),
|
|
244
|
+
title: zod_1.z.string(),
|
|
245
|
+
state: zod_1.z.string(),
|
|
246
|
+
user: zod_1.z.string(),
|
|
247
|
+
htmlUrl: zod_1.z.string(),
|
|
248
|
+
}))
|
|
249
|
+
.optional(),
|
|
250
|
+
pullRequests: zod_1.z
|
|
251
|
+
.array(zod_1.z.object({
|
|
252
|
+
number: zod_1.z.number(),
|
|
253
|
+
title: zod_1.z.string(),
|
|
254
|
+
state: zod_1.z.string(),
|
|
255
|
+
user: zod_1.z.string(),
|
|
256
|
+
draft: zod_1.z.boolean(),
|
|
257
|
+
htmlUrl: zod_1.z.string(),
|
|
258
|
+
}))
|
|
259
|
+
.optional(),
|
|
260
|
+
directoryEntries: zod_1.z
|
|
261
|
+
.array(zod_1.z.object({
|
|
262
|
+
name: zod_1.z.string(),
|
|
263
|
+
type: zod_1.z.string(),
|
|
264
|
+
path: zod_1.z.string(),
|
|
265
|
+
}))
|
|
266
|
+
.optional(),
|
|
267
|
+
workflowRuns: zod_1.z
|
|
268
|
+
.array(zod_1.z.object({
|
|
269
|
+
id: zod_1.z.number(),
|
|
270
|
+
name: zod_1.z.string(),
|
|
271
|
+
status: zod_1.z.string(),
|
|
272
|
+
conclusion: zod_1.z.string().nullable(),
|
|
273
|
+
htmlUrl: zod_1.z.string(),
|
|
274
|
+
}))
|
|
275
|
+
.optional(),
|
|
276
|
+
searchResults: zod_1.z
|
|
277
|
+
.array(zod_1.z.object({
|
|
278
|
+
name: zod_1.z.string(),
|
|
279
|
+
path: zod_1.z.string(),
|
|
280
|
+
repository: zod_1.z.string(),
|
|
281
|
+
}))
|
|
282
|
+
.optional(),
|
|
283
|
+
})
|
|
284
|
+
.strict(),
|
|
285
|
+
}),
|
|
286
|
+
__metadata("design:type", Object)
|
|
287
|
+
], GitHubReposOverviewWorkflow.prototype, "state", void 0);
|
|
288
|
+
__decorate([
|
|
289
|
+
(0, common_2.DefineHelper)(),
|
|
290
|
+
__metadata("design:type", Function),
|
|
291
|
+
__metadata("design:paramtypes", []),
|
|
292
|
+
__metadata("design:returntype", void 0)
|
|
293
|
+
], GitHubReposOverviewWorkflow.prototype, "searchQuery", null);
|
|
294
|
+
exports.GitHubReposOverviewWorkflow = GitHubReposOverviewWorkflow = __decorate([
|
|
295
|
+
(0, common_1.Injectable)(),
|
|
296
|
+
(0, common_2.Workflow)({
|
|
297
|
+
configFile: __dirname + '/github-repos-overview.workflow.yaml',
|
|
298
|
+
})
|
|
299
|
+
], GitHubReposOverviewWorkflow);
|
|
300
|
+
//# sourceMappingURL=github-repos-overview.workflow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"github-repos-overview.workflow.js","sourceRoot":"","sources":["../../src/workflows/github-repos-overview.workflow.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6BAAwB;AACxB,8CAW2B;AAC3B,0CAAuF;AACvF,kFAAwE;AACxE,4DA0BkC;AAClC,0DAAwD;AAMjD,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAEhB,IAAI,CAAO;IACX,cAAc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