@pecot/workflow-mcp 7.0.1-dev.20 → 7.0.1-dev.22
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/.claude-plugin/plugin.json +1 -1
- package/cli/dist/commands/issue-create.js +1 -5
- package/cli/dist/commands/issue-shared.d.ts +1 -1
- package/cli/dist/commands/issue-shared.js +1 -1
- package/cli/dist/commands/session-finish.js +2 -2
- package/cli/dist/domain/state.d.ts +0 -1
- package/cli/dist/domain/state.js +0 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
|
@@ -12,7 +12,6 @@ import { splitOwnerRepository, createRepositoryReference } from '../domain/repos
|
|
|
12
12
|
import { FrontmatterError, stripFrontmatter, stripLeadingHtmlComment } from '../domain/frontmatter.js';
|
|
13
13
|
import { findBatchDuplicate, planOrders } from '../domain/issue-order.js';
|
|
14
14
|
import { upsertWaitsForMerge } from '../domain/prerequisites.js';
|
|
15
|
-
import { FLAG_PECOT_QUICK_MODE } from '../domain/state.js';
|
|
16
15
|
import { compareStrings, pythonRightStrip, pythonStrip, pythonStringRepr, truncateCodePoints } from '../domain/python-format.js';
|
|
17
16
|
import { createIssueReference, issueReferenceKey, issueReferenceToCliReference } from '../domain/reference-parser.js';
|
|
18
17
|
import { describeReadiness, displayReference, hasStarted, stackChains } from '../domain/readiness.js';
|
|
@@ -20,7 +19,6 @@ import { parseIssueFile } from '../infra/frontmatter-file.js';
|
|
|
20
19
|
import { DependenciesUnsupportedError, GitHubAPIError } from '../infra/github/errors.js';
|
|
21
20
|
import { DEPENDENCIES_UNSUPPORTED } from '../infra/github/issues.js';
|
|
22
21
|
import { OutputPathReservationError, normalizePath, outputDirectory, resolveRealPath, withReservedOutputPath } from '../infra/paths.js';
|
|
23
|
-
import { touchFlag } from '../infra/state-store.js';
|
|
24
22
|
import { templateFile } from '../infra/template-store.js';
|
|
25
23
|
import { readTextFile } from '../infra/text-file.js';
|
|
26
24
|
import { CommandExit, defineCommand } from './command-definition.js';
|
|
@@ -774,7 +772,7 @@ async function createFreeform(output, input, isDryRun) {
|
|
|
774
772
|
planIssue(output, owner, repository, title);
|
|
775
773
|
return;
|
|
776
774
|
}
|
|
777
|
-
|
|
775
|
+
await postIssue(output, client, config, newSession(), {
|
|
778
776
|
owner,
|
|
779
777
|
repository,
|
|
780
778
|
title,
|
|
@@ -787,8 +785,6 @@ async function createFreeform(output, input, isDryRun) {
|
|
|
787
785
|
prerequisites: [],
|
|
788
786
|
settleColumn: false,
|
|
789
787
|
});
|
|
790
|
-
if (posted.isOnBoard && !BACKLOG_TYPES.has(issueType))
|
|
791
|
-
touchFlag(FLAG_PECOT_QUICK_MODE);
|
|
792
788
|
}
|
|
793
789
|
// -m の直接投稿。入力の確認から作成まで
|
|
794
790
|
async function createFromMessage(output, input, message, isDryRun) {
|
|
@@ -30,7 +30,7 @@ export declare const VALID_STATUSES: ReadonlySet<string>;
|
|
|
30
30
|
*/
|
|
31
31
|
export declare const TYPE_DEFAULT_STATUS: Readonly<Record<IssueType, string>>;
|
|
32
32
|
/**
|
|
33
|
-
Backlog に置く型(freeform の size
|
|
33
|
+
Backlog に置く型(freeform の size の扱いが Epic と同じ)
|
|
34
34
|
*/
|
|
35
35
|
export declare const BACKLOG_TYPES: ReadonlySet<string>;
|
|
36
36
|
/**
|
|
@@ -52,7 +52,7 @@ const TYPE_PREFIX_MAP = new Map([
|
|
|
52
52
|
*/
|
|
53
53
|
export const TYPE_DEFAULT_STATUS = { epic: 'backlog', tracker: 'backlog', task: 'ready', bug: 'ready' };
|
|
54
54
|
/**
|
|
55
|
-
Backlog に置く型(freeform の size
|
|
55
|
+
Backlog に置く型(freeform の size の扱いが Epic と同じ)
|
|
56
56
|
*/
|
|
57
57
|
export const BACKLOG_TYPES = new Set(['epic', 'tracker']);
|
|
58
58
|
// --- 終了の表し方 ---
|
|
@@ -9,7 +9,7 @@ import { extractClosingIssueNumbers } from '../domain/pull-request.js';
|
|
|
9
9
|
import { assumePullRequestState, describeReadinessChange, displayReference, hasReadinessChanged, isDone, isStackedOn } from '../domain/readiness.js';
|
|
10
10
|
import { createIssueReference } from '../domain/reference-parser.js';
|
|
11
11
|
import { RESTACK_PATH } from '../domain/restack.js';
|
|
12
|
-
import { FLAG_PECOT_BASE,
|
|
12
|
+
import { FLAG_PECOT_BASE, FLAG_PECOT_SESSION_TITLE } from '../domain/state.js';
|
|
13
13
|
import { gitCurrentBranch, GitCommandError, runGit } from '../infra/git.js';
|
|
14
14
|
import { GitHubAPIError, GitHubNotFoundError, isClosedByAnotherRequest, isMissingReferenceError } from '../infra/github/errors.js';
|
|
15
15
|
import { isFileNotFound } from '../infra/os-error.js';
|
|
@@ -303,7 +303,7 @@ function localCleanupAfterMerge(context, headBranch, config, location) {
|
|
|
303
303
|
}
|
|
304
304
|
function removeActiveFlags(out) {
|
|
305
305
|
try {
|
|
306
|
-
for (const flag of [FLAG_PECOT_BASE, FLAG_PECOT_SESSION_TITLE
|
|
306
|
+
for (const flag of [FLAG_PECOT_BASE, FLAG_PECOT_SESSION_TITLE])
|
|
307
307
|
removeFlag(flag);
|
|
308
308
|
}
|
|
309
309
|
catch (error) {
|
|
@@ -2,7 +2,6 @@ import type { IssueReference } from './reference-parser.js';
|
|
|
2
2
|
export declare const FLAG_PECOT_SESSION_TITLE = ".pecot-session-title";
|
|
3
3
|
export declare const FLAG_PECOT_BASE = ".pecot-base";
|
|
4
4
|
export declare const FLAG_PECOT_RESTACK = ".pecot-restack";
|
|
5
|
-
export declare const FLAG_PECOT_QUICK_MODE = ".pecot-quick-mode";
|
|
6
5
|
export declare const SESSION_TITLE_MAX_CHARS = 40;
|
|
7
6
|
/**
|
|
8
7
|
セッション名 `#<番号> <Issue タイトル>` を組み立てる。
|
package/cli/dist/domain/state.js
CHANGED
|
@@ -10,7 +10,6 @@ export const FLAG_PECOT_SESSION_TITLE = '.pecot-session-title';
|
|
|
10
10
|
export const FLAG_PECOT_BASE = '.pecot-base';
|
|
11
11
|
// 衝突で止まった載せ直しの途中の記録。pr restack が書き、続行か取りやめで消す
|
|
12
12
|
export const FLAG_PECOT_RESTACK = '.pecot-restack';
|
|
13
|
-
export const FLAG_PECOT_QUICK_MODE = '.pecot-quick-mode';
|
|
14
13
|
export const SESSION_TITLE_MAX_CHARS = 40;
|
|
15
14
|
const ISSUE_TYPE_PREFIX_PATTERN = /^\[(?:Task|Bug|Epic)\]\s*/u;
|
|
16
15
|
/**
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pecot/workflow-mcp",
|
|
3
|
-
"version": "7.0.1-dev.
|
|
3
|
+
"version": "7.0.1-dev.22",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@pecot/workflow-mcp",
|
|
9
|
-
"version": "7.0.1-dev.
|
|
9
|
+
"version": "7.0.1-dev.22",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@modelcontextprotocol/server": "^2.4.0",
|