@oh-my-pi/pi-coding-agent 17.2.10 → 17.2.12
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/CHANGELOG.md +53 -0
- package/dist/{CHANGELOG-rhwzpexa.md → CHANGELOG-k9ghy5sn.md} +53 -0
- package/dist/cli.js +10775 -10762
- package/dist/types/advisor/runtime.d.ts +1 -1
- package/dist/types/capability/mcp.d.ts +11 -0
- package/dist/types/capability/skill.d.ts +6 -0
- package/dist/types/cli/command-help.d.ts +3 -0
- package/dist/types/commands/share.d.ts +25 -0
- package/dist/types/commit/agentic/index.d.ts +3 -1
- package/dist/types/commit/execute.d.ts +32 -0
- package/dist/types/commit/index.d.ts +2 -1
- package/dist/types/commit/pipeline.d.ts +7 -1
- package/dist/types/config/custom-models.d.ts +31 -0
- package/dist/types/config/model-config-values.d.ts +19 -0
- package/dist/types/config/model-patch.d.ts +93 -0
- package/dist/types/config/model-provider-discovery.d.ts +51 -0
- package/dist/types/config/model-registry.d.ts +9 -52
- package/dist/types/config/settings-schema.d.ts +1 -34
- package/dist/types/config/settings.d.ts +5 -3
- package/dist/types/debug/raw-sse-buffer.d.ts +9 -0
- package/dist/types/discovery/agent-plugin-format.d.ts +136 -0
- package/dist/types/discovery/agent-plugins.d.ts +1 -0
- package/dist/types/discovery/contained-path.d.ts +33 -0
- package/dist/types/discovery/index.d.ts +1 -0
- package/dist/types/eval/executor-base.d.ts +8 -2
- package/dist/types/eval/kernel-session-registry.d.ts +60 -0
- package/dist/types/export/share.d.ts +1 -1
- package/dist/types/extensibility/custom-tools/types.d.ts +2 -2
- package/dist/types/extensibility/extensions/loader.d.ts +7 -0
- package/dist/types/extensibility/extensions/types.d.ts +11 -0
- package/dist/types/extensibility/shared-events.d.ts +3 -2
- package/dist/types/extensibility/skills.d.ts +5 -0
- package/dist/types/lsp/diagnostics.d.ts +96 -0
- package/dist/types/lsp/index.d.ts +7 -128
- package/dist/types/lsp/servers.d.ts +72 -0
- package/dist/types/lsp/tool.d.ts +42 -0
- package/dist/types/lsp/workspace-diagnostics.d.ts +12 -0
- package/dist/types/lsp/writethrough.d.ts +33 -0
- package/dist/types/mcp/transports/header-policy.d.ts +46 -0
- package/dist/types/mcp/types.d.ts +15 -0
- package/dist/types/modes/components/agent-hub-projection.d.ts +2 -7
- package/dist/types/modes/components/agent-hub-renderer.d.ts +0 -7
- package/dist/types/modes/components/agent-hub.d.ts +2 -0
- package/dist/types/modes/components/agent-transcript-viewer.d.ts +2 -0
- package/dist/types/modes/components/chat-transcript-builder.d.ts +2 -0
- package/dist/types/modes/components/custom-editor.d.ts +1 -2
- package/dist/types/modes/components/status-line/types.d.ts +2 -0
- package/dist/types/modes/components/tool-execution.d.ts +2 -0
- package/dist/types/modes/theme/color.d.ts +19 -0
- package/dist/types/modes/theme/loader.d.ts +19 -0
- package/dist/types/modes/theme/schema.d.ts +175 -0
- package/dist/types/modes/theme/symbols.d.ts +28 -0
- package/dist/types/modes/theme/theme-class.d.ts +244 -0
- package/dist/types/modes/theme/theme.d.ts +9 -280
- package/dist/types/modes/theme/tui-adapters.d.ts +13 -0
- package/dist/types/modes/utils/transcript-render-helpers.d.ts +3 -2
- package/dist/types/registry/agent-registry.d.ts +1 -3
- package/dist/types/secrets/index.d.ts +26 -2
- package/dist/types/secrets/message-transform.d.ts +40 -0
- package/dist/types/secrets/obfuscator.d.ts +0 -108
- package/dist/types/secrets/placeholder-scan.d.ts +95 -0
- package/dist/types/secrets/placeholder.d.ts +94 -0
- package/dist/types/secrets/replacement.d.ts +82 -0
- package/dist/types/session/agent-session-events.d.ts +2 -2
- package/dist/types/session/agent-session-types.d.ts +6 -0
- package/dist/types/session/agent-session.d.ts +2 -2
- package/dist/types/session/messages.d.ts +1 -0
- package/dist/types/session/prewalk.d.ts +3 -1
- package/dist/types/session/session-handoff.d.ts +3 -3
- package/dist/types/session/session-manager.d.ts +32 -0
- package/dist/types/session/session-provider-boundary.d.ts +1 -1
- package/dist/types/session/session-tools.d.ts +8 -0
- package/dist/types/session/turn-recovery.d.ts +9 -4
- package/dist/types/slash-commands/builtin-collaboration.d.ts +2 -0
- package/dist/types/slash-commands/builtin-completions.d.ts +36 -0
- package/dist/types/slash-commands/builtin-control.d.ts +2 -0
- package/dist/types/slash-commands/builtin-lifecycle.d.ts +3 -0
- package/dist/types/slash-commands/builtin-marketplace.d.ts +11 -0
- package/dist/types/slash-commands/builtin-modes.d.ts +5 -0
- package/dist/types/slash-commands/builtin-registry.d.ts +1 -1
- package/dist/types/slash-commands/builtin-session.d.ts +2 -0
- package/dist/types/task/index.d.ts +2 -0
- package/dist/types/tools/gh-common.d.ts +69 -0
- package/dist/types/tools/gh-pr-checkout.d.ts +84 -0
- package/dist/types/tools/gh-pr-diff.d.ts +102 -0
- package/dist/types/tools/gh-run-watch.d.ts +78 -0
- package/dist/types/tools/gh-search.d.ts +61 -0
- package/dist/types/tools/gh-types.d.ts +340 -0
- package/dist/types/tools/gh-view.d.ts +88 -0
- package/dist/types/tools/gh.d.ts +4 -201
- package/dist/types/tools/read-archive.d.ts +16 -0
- package/dist/types/tools/read-format.d.ts +104 -0
- package/dist/types/tools/read-path-resolution.d.ts +19 -0
- package/dist/types/tools/read-pdf-images.d.ts +12 -0
- package/dist/types/tools/read-renderer.d.ts +24 -0
- package/dist/types/tools/read-selector.d.ts +27 -0
- package/dist/types/tools/read-sqlite.d.ts +16 -0
- package/dist/types/tools/read-summary.d.ts +19 -0
- package/dist/types/tools/read.d.ts +1 -23
- package/dist/types/tools/shell-tokenize.d.ts +18 -1
- package/dist/types/utils/changelog.d.ts +0 -5
- package/package.json +13 -13
- package/scripts/legacy-pi-virtual-module.ts +4 -1
- package/src/advisor/runtime.ts +12 -7
- package/src/capability/mcp.ts +11 -0
- package/src/capability/skill.ts +6 -0
- package/src/cli/command-help.ts +4 -0
- package/src/cli/gallery-cli.ts +1 -1
- package/src/cli-commands.ts +5 -0
- package/src/commands/commit.ts +16 -3
- package/src/commands/share.ts +71 -0
- package/src/commit/agentic/index.ts +39 -21
- package/src/commit/execute.ts +56 -0
- package/src/commit/index.ts +2 -1
- package/src/commit/pipeline.ts +20 -7
- package/src/config/custom-models.ts +188 -0
- package/src/config/model-config-values.ts +128 -0
- package/src/config/model-discovery.ts +1 -1
- package/src/config/model-patch.ts +252 -0
- package/src/config/model-provider-discovery.ts +132 -0
- package/src/config/model-registry.ts +84 -704
- package/src/config/settings-schema.ts +2 -33
- package/src/config/settings.ts +53 -3
- package/src/debug/raw-sse-buffer.ts +20 -0
- package/src/discovery/agent-plugin-format.ts +551 -0
- package/src/discovery/agent-plugins.ts +341 -0
- package/src/discovery/claude-plugins.ts +21 -5
- package/src/discovery/contained-path.ts +75 -0
- package/src/discovery/helpers.ts +23 -9
- package/src/discovery/index.ts +1 -0
- package/src/discovery/omp-plugins.ts +20 -7
- package/src/edit/hashline/diff.ts +5 -1
- package/src/eval/executor-base.ts +39 -6
- package/src/eval/jl/executor.ts +82 -371
- package/src/eval/kernel-session-registry.ts +398 -0
- package/src/eval/py/executor.ts +53 -261
- package/src/eval/rb/executor.ts +36 -279
- package/src/exec/non-interactive-env.ts +1 -0
- package/src/export/share.ts +2 -1
- package/src/extensibility/custom-tools/types.ts +2 -2
- package/src/extensibility/extensions/loader.ts +78 -14
- package/src/extensibility/extensions/runner.ts +6 -0
- package/src/extensibility/extensions/types.ts +12 -0
- package/src/extensibility/plugins/marketplace/manager.ts +2 -1
- package/src/extensibility/shared-events.ts +3 -2
- package/src/extensibility/skills.ts +9 -0
- package/src/internal-urls/skill-protocol.ts +14 -0
- package/src/internal-urls/vault-protocol.ts +2 -2
- package/src/launch/client.ts +11 -1
- package/src/launch/protocol.ts +7 -2
- package/src/lsp/diagnostics.ts +516 -0
- package/src/lsp/index.ts +20 -2819
- package/src/lsp/servers.ts +296 -0
- package/src/lsp/tool.ts +1352 -0
- package/src/lsp/workspace-diagnostics.ts +170 -0
- package/src/lsp/writethrough.ts +561 -0
- package/src/main.ts +3 -2
- package/src/mcp/config.ts +3 -0
- package/src/mcp/manager.ts +12 -9
- package/src/mcp/transports/header-policy.ts +95 -0
- package/src/mcp/transports/http.ts +35 -52
- package/src/mcp/transports/sse.ts +20 -27
- package/src/mcp/types.ts +15 -0
- package/src/modes/acp/acp-agent.ts +15 -4
- package/src/modes/components/agent-dashboard.ts +2 -0
- package/src/modes/components/agent-hub-projection.ts +2 -2
- package/src/modes/components/agent-hub-renderer.ts +3 -7
- package/src/modes/components/agent-hub.ts +5 -0
- package/src/modes/components/agent-transcript-viewer.ts +3 -0
- package/src/modes/components/chat-transcript-builder.ts +3 -0
- package/src/modes/components/custom-editor.ts +0 -9
- package/src/modes/components/status-line/component.ts +1 -0
- package/src/modes/components/status-line/segments.ts +6 -4
- package/src/modes/components/status-line/types.ts +2 -0
- package/src/modes/components/tool-execution.ts +13 -16
- package/src/modes/components/tree-selector.ts +62 -3
- package/src/modes/controllers/command-controller.ts +8 -2
- package/src/modes/controllers/event-controller.ts +15 -15
- package/src/modes/controllers/input-controller.ts +20 -2
- package/src/modes/controllers/selector-controller.ts +1 -0
- package/src/modes/theme/color.ts +133 -0
- package/src/modes/theme/loader.ts +178 -0
- package/src/modes/theme/schema.ts +263 -0
- package/src/modes/theme/symbols.ts +1000 -0
- package/src/modes/theme/theme-class.ts +611 -0
- package/src/modes/theme/theme.ts +27 -2453
- package/src/modes/theme/tui-adapters.ts +279 -0
- package/src/modes/utils/transcript-render-helpers.ts +4 -2
- package/src/modes/utils/ui-helpers.ts +1 -0
- package/src/registry/agent-registry.ts +2 -2
- package/src/sdk.ts +6 -49
- package/src/secrets/index.ts +51 -6
- package/src/secrets/message-transform.ts +287 -0
- package/src/secrets/obfuscator.ts +39 -1303
- package/src/secrets/placeholder-scan.ts +506 -0
- package/src/secrets/placeholder.ts +309 -0
- package/src/secrets/replacement.ts +216 -0
- package/src/session/agent-session-events.ts +2 -2
- package/src/session/agent-session-types.ts +6 -0
- package/src/session/agent-session.ts +146 -21
- package/src/session/indexed-session-storage.ts +7 -2
- package/src/session/messages.ts +1 -0
- package/src/session/prewalk.ts +57 -17
- package/src/session/session-advisors.ts +32 -34
- package/src/session/session-context.ts +3 -5
- package/src/session/session-handoff.ts +39 -16
- package/src/session/session-manager.ts +67 -3
- package/src/session/session-provider-boundary.ts +3 -6
- package/src/session/session-tools.ts +37 -3
- package/src/session/todo-tracker.ts +11 -1
- package/src/session/turn-recovery.ts +115 -84
- package/src/slash-commands/builtin-collaboration.ts +504 -0
- package/src/slash-commands/builtin-completions.ts +291 -0
- package/src/slash-commands/builtin-control.ts +78 -0
- package/src/slash-commands/builtin-lifecycle.ts +506 -0
- package/src/slash-commands/builtin-marketplace.ts +567 -0
- package/src/slash-commands/builtin-modes.ts +518 -0
- package/src/slash-commands/builtin-registry.ts +21 -2996
- package/src/slash-commands/builtin-session.ts +592 -0
- package/src/task/executor.ts +17 -14
- package/src/task/index.ts +21 -6
- package/src/tools/bash-skill-urls.ts +15 -0
- package/src/tools/bash.ts +10 -11
- package/src/tools/debug.ts +1 -1
- package/src/tools/gh-common.ts +288 -0
- package/src/tools/gh-pr-checkout.ts +679 -0
- package/src/tools/gh-pr-diff.ts +473 -0
- package/src/tools/gh-run-watch.ts +1015 -0
- package/src/tools/gh-search.ts +500 -0
- package/src/tools/gh-types.ts +379 -0
- package/src/tools/gh-view.ts +612 -0
- package/src/tools/gh.ts +109 -3821
- package/src/tools/jtd-to-json-schema.ts +123 -21
- package/src/tools/read-archive.ts +209 -0
- package/src/tools/read-format.ts +593 -0
- package/src/tools/read-path-resolution.ts +36 -0
- package/src/tools/read-pdf-images.ts +250 -0
- package/src/tools/read-renderer.ts +289 -0
- package/src/tools/read-selector.ts +84 -0
- package/src/tools/read-sqlite.ts +215 -0
- package/src/tools/read-summary.ts +199 -0
- package/src/tools/read.ts +82 -1824
- package/src/tools/shell-tokenize.ts +99 -1
- package/src/utils/changelog.ts +1 -1
- package/src/utils/title-generator.ts +3 -1
- package/src/web/search/providers/exa.ts +1 -1
- package/src/web/search/providers/zai.ts +12 -3
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
export interface GithubInput {
|
|
2
|
+
op:
|
|
3
|
+
| "repo_view"
|
|
4
|
+
| "file_read"
|
|
5
|
+
| "pr_create"
|
|
6
|
+
| "pr_checkout"
|
|
7
|
+
| "pr_push"
|
|
8
|
+
| "search_issues"
|
|
9
|
+
| "search_prs"
|
|
10
|
+
| "search_code"
|
|
11
|
+
| "search_commits"
|
|
12
|
+
| "search_repos"
|
|
13
|
+
| "run_watch";
|
|
14
|
+
repo?: string;
|
|
15
|
+
branch?: string;
|
|
16
|
+
path?: string;
|
|
17
|
+
pr?: string | string[];
|
|
18
|
+
force?: boolean;
|
|
19
|
+
forceWithLease?: boolean;
|
|
20
|
+
title?: string;
|
|
21
|
+
body?: string;
|
|
22
|
+
base?: string;
|
|
23
|
+
head?: string;
|
|
24
|
+
draft?: boolean;
|
|
25
|
+
fill?: boolean;
|
|
26
|
+
reviewer?: string[];
|
|
27
|
+
assignee?: string[];
|
|
28
|
+
label?: string[];
|
|
29
|
+
query?: string;
|
|
30
|
+
since?: string;
|
|
31
|
+
until?: string;
|
|
32
|
+
dateField?: "created" | "updated";
|
|
33
|
+
limit?: number;
|
|
34
|
+
run?: string;
|
|
35
|
+
tail?: number;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// /search/<endpoint> API response shapes (subset). Used when projecting raw
|
|
39
|
+
// REST results into the normalized `GhSearch*Result` shapes the formatters
|
|
40
|
+
// consume. We talk to the API directly because `gh search prs`/`issues`
|
|
41
|
+
// quotes multi-token positional queries (`is:"merged is:pr"`) and returns 0
|
|
42
|
+
// hits — see https://github.com/cli/cli for the upstream regression.
|
|
43
|
+
export interface GhApiSearchResponse<T> {
|
|
44
|
+
total_count?: number;
|
|
45
|
+
incomplete_results?: boolean;
|
|
46
|
+
items?: T[];
|
|
47
|
+
}
|
|
48
|
+
export interface GhApiUser {
|
|
49
|
+
login?: string;
|
|
50
|
+
name?: string | null;
|
|
51
|
+
}
|
|
52
|
+
export interface GhApiLabel {
|
|
53
|
+
name?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface GhApiPullRequestRef {
|
|
56
|
+
merged_at?: string | null;
|
|
57
|
+
}
|
|
58
|
+
export interface GhApiSearchIssueItem {
|
|
59
|
+
number?: number;
|
|
60
|
+
title?: string;
|
|
61
|
+
state?: string;
|
|
62
|
+
state_reason?: string | null;
|
|
63
|
+
user?: GhApiUser | null;
|
|
64
|
+
labels?: GhApiLabel[];
|
|
65
|
+
created_at?: string;
|
|
66
|
+
updated_at?: string;
|
|
67
|
+
html_url?: string;
|
|
68
|
+
repository_url?: string;
|
|
69
|
+
pull_request?: GhApiPullRequestRef | null;
|
|
70
|
+
}
|
|
71
|
+
export interface GhApiSearchCodeItem {
|
|
72
|
+
name?: string;
|
|
73
|
+
path?: string;
|
|
74
|
+
sha?: string;
|
|
75
|
+
html_url?: string;
|
|
76
|
+
repository?: { full_name?: string } | null;
|
|
77
|
+
text_matches?: Array<{ fragment?: string; property?: string }>;
|
|
78
|
+
}
|
|
79
|
+
export interface GhApiSearchCommitGitActor {
|
|
80
|
+
name?: string;
|
|
81
|
+
email?: string;
|
|
82
|
+
date?: string;
|
|
83
|
+
}
|
|
84
|
+
export interface GhApiSearchCommitItem {
|
|
85
|
+
sha?: string;
|
|
86
|
+
node_id?: string;
|
|
87
|
+
html_url?: string;
|
|
88
|
+
author?: GhApiUser | null;
|
|
89
|
+
committer?: GhApiUser | null;
|
|
90
|
+
commit?: {
|
|
91
|
+
author?: GhApiSearchCommitGitActor | null;
|
|
92
|
+
committer?: GhApiSearchCommitGitActor | null;
|
|
93
|
+
message?: string;
|
|
94
|
+
} | null;
|
|
95
|
+
repository?: { full_name?: string } | null;
|
|
96
|
+
}
|
|
97
|
+
export interface GhApiSearchRepoItem {
|
|
98
|
+
full_name?: string;
|
|
99
|
+
description?: string | null;
|
|
100
|
+
language?: string | null;
|
|
101
|
+
stargazers_count?: number;
|
|
102
|
+
forks_count?: number;
|
|
103
|
+
open_issues_count?: number;
|
|
104
|
+
archived?: boolean;
|
|
105
|
+
fork?: boolean;
|
|
106
|
+
private?: boolean;
|
|
107
|
+
visibility?: string | null;
|
|
108
|
+
updated_at?: string;
|
|
109
|
+
created_at?: string;
|
|
110
|
+
html_url?: string;
|
|
111
|
+
owner?: GhApiUser | null;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface GhUser {
|
|
115
|
+
login?: string;
|
|
116
|
+
name?: string | null;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export interface GhLabel {
|
|
120
|
+
name?: string;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export interface GhComment {
|
|
124
|
+
author?: GhUser | null;
|
|
125
|
+
body?: string;
|
|
126
|
+
createdAt?: string;
|
|
127
|
+
url?: string;
|
|
128
|
+
isMinimized?: boolean;
|
|
129
|
+
minimizedReason?: string | null;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export interface GhRepoTopic {
|
|
133
|
+
name?: string;
|
|
134
|
+
topic?: { name?: string };
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export interface GhRepoLanguage {
|
|
138
|
+
name?: string;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export interface GhRepoBranch {
|
|
142
|
+
name?: string;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export interface GhRepoViewData {
|
|
146
|
+
nameWithOwner?: string;
|
|
147
|
+
description?: string | null;
|
|
148
|
+
url?: string;
|
|
149
|
+
sshUrl?: string;
|
|
150
|
+
defaultBranchRef?: GhRepoBranch | null;
|
|
151
|
+
homepageUrl?: string | null;
|
|
152
|
+
forkCount?: number;
|
|
153
|
+
isArchived?: boolean;
|
|
154
|
+
isFork?: boolean;
|
|
155
|
+
primaryLanguage?: GhRepoLanguage | null;
|
|
156
|
+
repositoryTopics?: GhRepoTopic[];
|
|
157
|
+
stargazerCount?: number;
|
|
158
|
+
updatedAt?: string;
|
|
159
|
+
viewerPermission?: string | null;
|
|
160
|
+
visibility?: string | null;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export interface GhIssueViewData {
|
|
164
|
+
author?: GhUser | null;
|
|
165
|
+
body?: string | null;
|
|
166
|
+
comments?: GhComment[];
|
|
167
|
+
createdAt?: string;
|
|
168
|
+
labels?: GhLabel[];
|
|
169
|
+
number?: number;
|
|
170
|
+
state?: string;
|
|
171
|
+
stateReason?: string | null;
|
|
172
|
+
title?: string;
|
|
173
|
+
updatedAt?: string;
|
|
174
|
+
url?: string;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export interface GhPrFile {
|
|
178
|
+
path?: string;
|
|
179
|
+
additions?: number;
|
|
180
|
+
deletions?: number;
|
|
181
|
+
changeType?: string;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export interface GhPrViewData extends GhIssueViewData {
|
|
185
|
+
baseRefName?: string;
|
|
186
|
+
files?: GhPrFile[];
|
|
187
|
+
headRefName?: string;
|
|
188
|
+
headRefOid?: string;
|
|
189
|
+
headRepository?: GhRepoViewData | null;
|
|
190
|
+
headRepositoryOwner?: GhUser | null;
|
|
191
|
+
isCrossRepository?: boolean;
|
|
192
|
+
isDraft?: boolean;
|
|
193
|
+
maintainerCanModify?: boolean;
|
|
194
|
+
mergeStateStatus?: string;
|
|
195
|
+
reviewComments?: GhPrReviewComment[];
|
|
196
|
+
reviews?: GhPrReview[];
|
|
197
|
+
reviewDecision?: string;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export interface GhPrReviewCommit {
|
|
201
|
+
oid?: string | null;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export interface GhPrReview {
|
|
205
|
+
author?: GhUser | null;
|
|
206
|
+
body?: string | null;
|
|
207
|
+
commit?: GhPrReviewCommit | null;
|
|
208
|
+
state?: string | null;
|
|
209
|
+
submittedAt?: string | null;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export interface GhPrReviewCommentApi {
|
|
213
|
+
body?: string | null;
|
|
214
|
+
created_at?: string | null;
|
|
215
|
+
html_url?: string | null;
|
|
216
|
+
id?: number;
|
|
217
|
+
in_reply_to_id?: number | null;
|
|
218
|
+
line?: number | null;
|
|
219
|
+
original_line?: number | null;
|
|
220
|
+
path?: string | null;
|
|
221
|
+
side?: string | null;
|
|
222
|
+
user?: GhUser | null;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export interface GhPrReviewComment {
|
|
226
|
+
author?: GhUser | null;
|
|
227
|
+
body?: string | null;
|
|
228
|
+
createdAt?: string;
|
|
229
|
+
id: number;
|
|
230
|
+
inReplyToId?: number;
|
|
231
|
+
line?: number;
|
|
232
|
+
originalLine?: number;
|
|
233
|
+
path?: string;
|
|
234
|
+
side?: string;
|
|
235
|
+
url?: string;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export interface GhBranchApiResponse {
|
|
239
|
+
commit?: {
|
|
240
|
+
sha?: string | null;
|
|
241
|
+
} | null;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export interface GhSearchRepository {
|
|
245
|
+
nameWithOwner?: string;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export interface GhSearchResult {
|
|
249
|
+
author?: GhUser | null;
|
|
250
|
+
createdAt?: string;
|
|
251
|
+
labels?: GhLabel[];
|
|
252
|
+
number?: number;
|
|
253
|
+
repository?: GhSearchRepository | null;
|
|
254
|
+
state?: string;
|
|
255
|
+
title?: string;
|
|
256
|
+
updatedAt?: string;
|
|
257
|
+
url?: string;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export interface GhSearchCodeTextMatch {
|
|
261
|
+
fragment?: string;
|
|
262
|
+
property?: string;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export interface GhSearchCodeResult {
|
|
266
|
+
path?: string;
|
|
267
|
+
repository?: GhSearchRepository | null;
|
|
268
|
+
sha?: string;
|
|
269
|
+
textMatches?: GhSearchCodeTextMatch[];
|
|
270
|
+
url?: string;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export interface GhSearchCommitGitActor {
|
|
274
|
+
name?: string;
|
|
275
|
+
email?: string;
|
|
276
|
+
date?: string;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export interface GhSearchCommitDetail {
|
|
280
|
+
author?: GhSearchCommitGitActor | null;
|
|
281
|
+
committer?: GhSearchCommitGitActor | null;
|
|
282
|
+
message?: string;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export interface GhSearchCommitResult {
|
|
286
|
+
author?: GhUser | null;
|
|
287
|
+
commit?: GhSearchCommitDetail | null;
|
|
288
|
+
committer?: GhUser | null;
|
|
289
|
+
id?: string;
|
|
290
|
+
repository?: GhSearchRepository | null;
|
|
291
|
+
sha?: string;
|
|
292
|
+
url?: string;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export interface GhSearchRepoResult {
|
|
296
|
+
createdAt?: string;
|
|
297
|
+
description?: string | null;
|
|
298
|
+
forksCount?: number;
|
|
299
|
+
fullName?: string;
|
|
300
|
+
isArchived?: boolean;
|
|
301
|
+
isFork?: boolean;
|
|
302
|
+
isPrivate?: boolean;
|
|
303
|
+
language?: string | null;
|
|
304
|
+
openIssuesCount?: number;
|
|
305
|
+
owner?: GhUser | null;
|
|
306
|
+
stargazersCount?: number;
|
|
307
|
+
updatedAt?: string;
|
|
308
|
+
url?: string;
|
|
309
|
+
visibility?: string | null;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export interface GhRunReference {
|
|
313
|
+
repo?: string;
|
|
314
|
+
runId?: number;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export interface GhActionsRunListResponse {
|
|
318
|
+
workflow_runs?: GhActionsRunApi[];
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export interface GhActionsRunApi {
|
|
322
|
+
id?: number;
|
|
323
|
+
name?: string | null;
|
|
324
|
+
display_title?: string | null;
|
|
325
|
+
status?: string | null;
|
|
326
|
+
conclusion?: string | null;
|
|
327
|
+
head_branch?: string | null;
|
|
328
|
+
head_sha?: string | null;
|
|
329
|
+
created_at?: string | null;
|
|
330
|
+
updated_at?: string | null;
|
|
331
|
+
html_url?: string | null;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export interface GhActionsJobsResponse {
|
|
335
|
+
total_count?: number;
|
|
336
|
+
jobs?: GhActionsJobApi[];
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export interface GhActionsJobApi {
|
|
340
|
+
id?: number;
|
|
341
|
+
name?: string | null;
|
|
342
|
+
status?: string | null;
|
|
343
|
+
conclusion?: string | null;
|
|
344
|
+
started_at?: string | null;
|
|
345
|
+
completed_at?: string | null;
|
|
346
|
+
html_url?: string | null;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export interface GhRunJobSnapshot {
|
|
350
|
+
id: number;
|
|
351
|
+
name: string;
|
|
352
|
+
status?: string;
|
|
353
|
+
conclusion?: string;
|
|
354
|
+
startedAt?: string;
|
|
355
|
+
completedAt?: string;
|
|
356
|
+
url?: string;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export interface GhRunSnapshot {
|
|
360
|
+
id: number;
|
|
361
|
+
workflowName?: string;
|
|
362
|
+
displayTitle?: string;
|
|
363
|
+
status?: string;
|
|
364
|
+
conclusion?: string;
|
|
365
|
+
branch?: string;
|
|
366
|
+
headSha?: string;
|
|
367
|
+
createdAt?: string;
|
|
368
|
+
updatedAt?: string;
|
|
369
|
+
url?: string;
|
|
370
|
+
jobs: GhRunJobSnapshot[];
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export interface GhFailedJobLog {
|
|
374
|
+
run: GhRunSnapshot;
|
|
375
|
+
job: GhRunJobSnapshot;
|
|
376
|
+
full?: string;
|
|
377
|
+
tail?: string;
|
|
378
|
+
available: boolean;
|
|
379
|
+
}
|