@staff0rd/assist 0.1076.1 → 0.1076.2
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/built-version +1 -1
- package/dist/commands/sessions/web/bundle.js +351 -351
- package/dist/index.js +10 -1
- 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.1076.
|
|
9
|
+
version: "0.1076.2",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -50428,6 +50428,14 @@ function promptPrNumber(prompt) {
|
|
|
50428
50428
|
return match ? Number(match[1]) : void 0;
|
|
50429
50429
|
}
|
|
50430
50430
|
|
|
50431
|
+
// src/commands/sessions/shared/promptSessionType.ts
|
|
50432
|
+
function promptSessionType(prompt) {
|
|
50433
|
+
const match = prompt?.trim().match(/^\/([\w-]+)(?:\s|$)/);
|
|
50434
|
+
if (!match) return void 0;
|
|
50435
|
+
const { sessionType } = deriveHistoryFields(match[1], "", "");
|
|
50436
|
+
return sessionType === "prompt" ? void 0 : sessionType;
|
|
50437
|
+
}
|
|
50438
|
+
|
|
50431
50439
|
// src/commands/sessions/daemon/toSessionRunInfo.ts
|
|
50432
50440
|
function toSessionRunInfo({
|
|
50433
50441
|
status: status2,
|
|
@@ -50550,6 +50558,7 @@ function toSessionInfo(session) {
|
|
|
50550
50558
|
undurable,
|
|
50551
50559
|
promptIssue: promptIssueRef(session.initialPrompt),
|
|
50552
50560
|
promptPr: promptPrNumber(session.initialPrompt),
|
|
50561
|
+
promptType: promptSessionType(session.initialPrompt),
|
|
50553
50562
|
joinable: joinRefusal(session) === void 0
|
|
50554
50563
|
};
|
|
50555
50564
|
}
|