@staff0rd/assist 0.503.1 → 0.504.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/sessions/web/bundle.js +431 -431
- package/dist/index.js +10 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.
|
|
9
|
+
version: "0.504.0",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -22167,8 +22167,13 @@ function announcePr(prNumber) {
|
|
|
22167
22167
|
}
|
|
22168
22168
|
|
|
22169
22169
|
// src/commands/sessions/shared/requestAssistSession.ts
|
|
22170
|
-
function requestAssistSession(assistArgs, cwd) {
|
|
22171
|
-
return requestSession({
|
|
22170
|
+
function requestAssistSession(assistArgs, cwd, options2) {
|
|
22171
|
+
return requestSession({
|
|
22172
|
+
type: "create-assist",
|
|
22173
|
+
assistArgs,
|
|
22174
|
+
cwd,
|
|
22175
|
+
inPlace: options2?.inPlace === true
|
|
22176
|
+
});
|
|
22172
22177
|
}
|
|
22173
22178
|
|
|
22174
22179
|
// src/commands/prs/chainReviewAndPost.ts
|
|
@@ -22183,7 +22188,7 @@ function chainReviewAndPost(prNumber, announce) {
|
|
|
22183
22188
|
if (announce) args.push("--announce");
|
|
22184
22189
|
return startChainedSession(
|
|
22185
22190
|
`a Review + Post session for PR #${prNumber}`,
|
|
22186
|
-
() => requestAssistSession(args, process.cwd())
|
|
22191
|
+
() => requestAssistSession(args, process.cwd(), { inPlace: true })
|
|
22187
22192
|
);
|
|
22188
22193
|
}
|
|
22189
22194
|
|
|
@@ -24867,7 +24872,7 @@ function chainAddressComments(prNumber, announce) {
|
|
|
24867
24872
|
if (announce) args.push("--announce");
|
|
24868
24873
|
return startChainedSession(
|
|
24869
24874
|
`an Address Comments session for PR #${prNumber}`,
|
|
24870
|
-
() => requestAssistSession(args, process.cwd())
|
|
24875
|
+
() => requestAssistSession(args, process.cwd(), { inPlace: true })
|
|
24871
24876
|
);
|
|
24872
24877
|
}
|
|
24873
24878
|
|