@unbrained/pm-cli 2026.7.8 → 2026.7.9
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 +7 -0
- package/README.md +1 -0
- package/dist/cli/commands/close.js +5 -2
- package/dist/cli/commands/close.js.map +1 -1
- package/dist/cli/commands/completion.js +8 -2
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/contracts.d.ts +11 -0
- package/dist/cli/commands/contracts.js +112 -15
- package/dist/cli/commands/contracts.js.map +1 -1
- package/dist/cli/commands/create.js +4 -2
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/list.d.ts +4 -0
- package/dist/cli/commands/list.js +32 -3
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/cli/commands/update.d.ts +32 -1
- package/dist/cli/commands/update.js +19 -2
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/register-list-query.js +4 -2
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-operations.js +4 -2
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli/registration-helpers.js +4 -2
- package/dist/cli/registration-helpers.js.map +1 -1
- package/dist/cli-bundle/chunks/{chunk-D63PEJTB.js → chunk-26MFLA7K.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HI27UADG.js → chunk-2FKIIQMJ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-RLHQ3G4M.js → chunk-5RJ4LFD3.js} +30 -3
- package/dist/cli-bundle/chunks/chunk-5RJ4LFD3.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-IYRG5AEC.js → chunk-5ZMZF53A.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-UVFJSKTF.js → chunk-63PZJCKO.js} +7 -4
- package/dist/cli-bundle/chunks/chunk-63PZJCKO.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-TUDAYIO7.js → chunk-ASSVI7FP.js} +5 -3
- package/dist/cli-bundle/chunks/{chunk-TUDAYIO7.js.map → chunk-ASSVI7FP.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-KMXVZ2P7.js → chunk-BPYVKTZE.js} +112 -17
- package/dist/cli-bundle/chunks/chunk-BPYVKTZE.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-3FRNNVWY.js → chunk-CEX2DQXZ.js} +405 -75
- package/dist/cli-bundle/chunks/chunk-CEX2DQXZ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-DUBC6TI3.js → chunk-CHSXGTWF.js} +18 -4
- package/dist/cli-bundle/chunks/{chunk-DUBC6TI3.js.map → chunk-CHSXGTWF.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-G4FKP4ID.js → chunk-DBV5A7FT.js} +6 -4
- package/dist/cli-bundle/chunks/chunk-DBV5A7FT.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-YQEKE4FO.js → chunk-DQLP22K2.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ZMOPZFVT.js → chunk-GZ365M6E.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-XPSGJ4IV.js → chunk-K2OKKYSO.js} +4 -2
- package/dist/cli-bundle/chunks/{chunk-XPSGJ4IV.js.map → chunk-K2OKKYSO.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TR2C6V5T.js → chunk-K4NMHZR3.js} +90 -19
- package/dist/cli-bundle/chunks/chunk-K4NMHZR3.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-MYHFZNBO.js → chunk-KAJNWMBE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TU5P744I.js → chunk-MBLHA6LR.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-UCRYCT5M.js → chunk-MCZK7LY6.js} +19 -5
- package/dist/cli-bundle/chunks/{chunk-UCRYCT5M.js.map → chunk-MCZK7LY6.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-TTCJCKUJ.js → chunk-N4S7BV43.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ML27MHNM.js → chunk-NBJCIAVV.js} +88 -17
- package/dist/cli-bundle/chunks/chunk-NBJCIAVV.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-ASMRSIDX.js → chunk-NRYZ4QLH.js} +111 -16
- package/dist/cli-bundle/chunks/chunk-NRYZ4QLH.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-RDJXIAJB.js → chunk-NSPSJWGL.js} +6 -3
- package/dist/cli-bundle/chunks/chunk-NSPSJWGL.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-PJPZTE7P.js → chunk-ONADVBMD.js} +5 -3
- package/dist/cli-bundle/chunks/chunk-ONADVBMD.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-GE44TQMC.js → chunk-P5SUMCU5.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-2RADY7IB.js → chunk-PPY3GXFK.js} +405 -75
- package/dist/cli-bundle/chunks/chunk-PPY3GXFK.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-YR5R4FMQ.js → chunk-S7J3GEHL.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-XN5BEN2B.js → chunk-TI7QSUFK.js} +31 -4
- package/dist/cli-bundle/chunks/chunk-TI7QSUFK.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-EYPIUFWJ.js → chunk-VCGHRLJU.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-P2WE5KCU.js → chunk-WDNPNW22.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SN5X5GTU.js → chunk-XXN2B2MJ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GQOKFX2G.js → chunk-Y2736PT5.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-FL625JJM.js → chunk-YHKXNGLA.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-YUCKM3MD.js → chunk-YPE5MFPJ.js} +2 -2
- package/dist/cli-bundle/chunks/{close-E3RLZSP2.js → close-5WY6QO5F.js} +2 -2
- package/dist/cli-bundle/chunks/{close-K6BFI3OX.js → close-TKTFRL7N.js} +2 -2
- package/dist/cli-bundle/chunks/{close-many-6NBL3PM4.js → close-many-HEPL66EG.js} +4 -4
- package/dist/cli-bundle/chunks/{close-many-X4YKS3RO.js → close-many-U2KLQ3NL.js} +4 -4
- package/dist/cli-bundle/chunks/{create-AMBMYP6F.js → create-KCQM6UYM.js} +2 -2
- package/dist/cli-bundle/chunks/{create-TRIBYORN.js → create-LD4SEUD6.js} +2 -2
- package/dist/cli-bundle/chunks/{plan-MK2QY3GA.js → plan-B42KBMX7.js} +3 -3
- package/dist/cli-bundle/chunks/{plan-CJPKFRBK.js → plan-LUR7C24X.js} +3 -3
- package/dist/cli-bundle/chunks/{profile-HTBFINKQ.js → profile-5F75MO5O.js} +3 -3
- package/dist/cli-bundle/chunks/{profile-AQNHXOYA.js → profile-JRDMDGT5.js} +3 -3
- package/dist/cli-bundle/chunks/{register-list-query-EEF33SUJ.js → register-list-query-GZYRZLQZ.js} +8 -8
- package/dist/cli-bundle/chunks/register-list-query-GZYRZLQZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-S4FBWIWN.js → register-list-query-W2W7RQJJ.js} +7 -7
- package/dist/cli-bundle/chunks/register-list-query-W2W7RQJJ.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-L5Q7AUDN.js → register-mutation-5UDT3WL3.js} +10 -10
- package/dist/cli-bundle/chunks/{register-mutation-QFLRBCI7.js → register-mutation-7DMOYDPC.js} +10 -10
- package/dist/cli-bundle/chunks/{register-operations-QDU43FCG.js → register-operations-NW43IUPE.js} +12 -11
- package/dist/cli-bundle/chunks/register-operations-NW43IUPE.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-operations-HDE4FVW4.js → register-operations-Y4E32W4D.js} +13 -12
- package/dist/cli-bundle/chunks/register-operations-Y4E32W4D.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-setup-EGMTAXDC.js → register-setup-3GVJ7XPE.js} +6 -6
- package/dist/cli-bundle/chunks/{register-setup-PNIO3L2P.js → register-setup-MPTTS52V.js} +6 -6
- package/dist/cli-bundle/chunks/{update-SDIRJGSY.js → update-76CRUMC7.js} +4 -4
- package/dist/cli-bundle/chunks/{update-MP4XLU56.js → update-ZMYVXM77.js} +4 -4
- package/dist/cli-bundle/chunks/{update-many-34AIU6W7.js → update-many-QYQRGNPU.js} +6 -6
- package/dist/cli-bundle/chunks/{update-many-JUPCNOKV.js → update-many-U4CEQWI4.js} +6 -6
- package/dist/cli-bundle/main.js +7 -7
- package/dist/cli-bundle/sdk-runtime.js +81 -17
- package/dist/cli-bundle/sdk.js +84 -20
- package/dist/cli-bundle/sdk.js.map +3 -3
- package/dist/sdk/cli-contracts/flag-contracts.js +5 -2
- package/dist/sdk/cli-contracts/flag-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-option-contracts.js +10 -5
- package/dist/sdk/cli-contracts/tool-option-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +12 -4
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-schema.d.ts +4 -0
- package/dist/sdk/cli-contracts/tool-schema.js +66 -11
- package/dist/sdk/cli-contracts/tool-schema.js.map +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.js +3 -3
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runtime.d.ts +340 -25
- package/dist/sdk/runtime.js +413 -25
- package/dist/sdk/runtime.js.map +1 -1
- package/docs/AGENT_GUIDE.md +3 -0
- package/docs/COMMANDS.md +10 -1
- package/docs/SDK.md +37 -0
- package/package.json +1 -1
- package/dist/cli-bundle/chunks/chunk-2RADY7IB.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-3FRNNVWY.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-ASMRSIDX.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-G4FKP4ID.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-KMXVZ2P7.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-ML27MHNM.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-PJPZTE7P.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-RDJXIAJB.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-RLHQ3G4M.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-TR2C6V5T.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-UVFJSKTF.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-XN5BEN2B.js.map +0 -1
- package/dist/cli-bundle/chunks/register-list-query-EEF33SUJ.js.map +0 -1
- package/dist/cli-bundle/chunks/register-list-query-S4FBWIWN.js.map +0 -7
- package/dist/cli-bundle/chunks/register-operations-HDE4FVW4.js.map +0 -1
- package/dist/cli-bundle/chunks/register-operations-QDU43FCG.js.map +0 -7
- /package/dist/cli-bundle/chunks/{chunk-D63PEJTB.js.map → chunk-26MFLA7K.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HI27UADG.js.map → chunk-2FKIIQMJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IYRG5AEC.js.map → chunk-5ZMZF53A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YQEKE4FO.js.map → chunk-DQLP22K2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZMOPZFVT.js.map → chunk-GZ365M6E.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MYHFZNBO.js.map → chunk-KAJNWMBE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TU5P744I.js.map → chunk-MBLHA6LR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TTCJCKUJ.js.map → chunk-N4S7BV43.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GE44TQMC.js.map → chunk-P5SUMCU5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YR5R4FMQ.js.map → chunk-S7J3GEHL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EYPIUFWJ.js.map → chunk-VCGHRLJU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-P2WE5KCU.js.map → chunk-WDNPNW22.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SN5X5GTU.js.map → chunk-XXN2B2MJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GQOKFX2G.js.map → chunk-Y2736PT5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FL625JJM.js.map → chunk-YHKXNGLA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YUCKM3MD.js.map → chunk-YPE5MFPJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-E3RLZSP2.js.map → close-5WY6QO5F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-K6BFI3OX.js.map → close-TKTFRL7N.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-6NBL3PM4.js.map → close-many-HEPL66EG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-X4YKS3RO.js.map → close-many-U2KLQ3NL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-AMBMYP6F.js.map → create-KCQM6UYM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-TRIBYORN.js.map → create-LD4SEUD6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-MK2QY3GA.js.map → plan-B42KBMX7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-CJPKFRBK.js.map → plan-LUR7C24X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-HTBFINKQ.js.map → profile-5F75MO5O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-AQNHXOYA.js.map → profile-JRDMDGT5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-L5Q7AUDN.js.map → register-mutation-5UDT3WL3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-QFLRBCI7.js.map → register-mutation-7DMOYDPC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-setup-EGMTAXDC.js.map → register-setup-3GVJ7XPE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-setup-PNIO3L2P.js.map → register-setup-MPTTS52V.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-SDIRJGSY.js.map → update-76CRUMC7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-MP4XLU56.js.map → update-ZMYVXM77.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-34AIU6W7.js.map → update-many-QYQRGNPU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-JUPCNOKV.js.map → update-many-U4CEQWI4.js.map} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolveContentFieldFilters,
|
|
14
14
|
resolveMissingMetadataFilters,
|
|
15
15
|
runList
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5RJ4LFD3.js";
|
|
17
17
|
import {
|
|
18
18
|
hasContentFieldFilter,
|
|
19
19
|
itemMatchesContentFilters
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
resolveSearchCorpusFields,
|
|
53
53
|
resolveSettingsWithSemanticRuntimeDefaults,
|
|
54
54
|
resolveVectorStores
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-ONADVBMD.js";
|
|
56
56
|
import {
|
|
57
57
|
splitCommaList
|
|
58
58
|
} from "./chunk-5HIZDR5A.js";
|
|
@@ -5511,4 +5511,4 @@ export {
|
|
|
5511
5511
|
runNext,
|
|
5512
5512
|
renderNextMarkdown
|
|
5513
5513
|
};
|
|
5514
|
-
//# sourceMappingURL=chunk-
|
|
5514
|
+
//# sourceMappingURL=chunk-N4S7BV43.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="91f42ac1-1a02-5e2e-bec7-c149f56bd6c1")}catch(e){}}();
|
|
3
3
|
import {
|
|
4
4
|
KNOWN_EXTENSION_CAPABILITIES,
|
|
5
5
|
KNOWN_EXTENSION_POLICY_MODES,
|
|
@@ -858,12 +858,17 @@ var TOOL_ITEM_BASE_FILTER_OPTION_CONTRACTS = [
|
|
|
858
858
|
{ param: "deadlineBefore", flag: "--deadline-before" },
|
|
859
859
|
{ param: "deadlineAfter", flag: "--deadline-after" }
|
|
860
860
|
];
|
|
861
|
-
var
|
|
861
|
+
var TOOL_ITEM_DATE_FILTER_OPTION_CONTRACTS = [
|
|
862
862
|
{ param: "updatedAfter", flag: "--updated-after" },
|
|
863
863
|
{ param: "updatedBefore", flag: "--updated-before" },
|
|
864
864
|
{ param: "createdAfter", flag: "--created-after" },
|
|
865
865
|
{ param: "createdBefore", flag: "--created-before" }
|
|
866
866
|
];
|
|
867
|
+
var TOOL_LIST_WINDOW_FILTER_OPTION_CONTRACTS = [
|
|
868
|
+
{ param: "today", flag: "--today", booleanish: true },
|
|
869
|
+
{ param: "recent", flag: "--recent", booleanish: true },
|
|
870
|
+
...TOOL_ITEM_DATE_FILTER_OPTION_CONTRACTS
|
|
871
|
+
];
|
|
867
872
|
var TOOL_ITEM_RELATION_FILTER_OPTION_CONTRACTS = [
|
|
868
873
|
{ param: "assignee", flag: "--assignee" },
|
|
869
874
|
{ param: "assigneeFilter", flag: "--assignee-filter" },
|
|
@@ -912,7 +917,7 @@ var TOOL_CONTENT_PRESENCE_OPTION_CONTRACTS = [
|
|
|
912
917
|
];
|
|
913
918
|
var TOOL_LIST_FILTER_OPTION_CONTRACTS = [
|
|
914
919
|
...cloneOptionContracts(TOOL_ITEM_BASE_FILTER_OPTION_CONTRACTS),
|
|
915
|
-
...cloneOptionContracts(
|
|
920
|
+
...cloneOptionContracts(TOOL_LIST_WINDOW_FILTER_OPTION_CONTRACTS),
|
|
916
921
|
{ param: "ids", flag: "--ids" },
|
|
917
922
|
...cloneOptionContracts(TOOL_ITEM_RELATION_FILTER_OPTION_CONTRACTS),
|
|
918
923
|
{ param: "filterAcMissing", flag: "--filter-ac-missing" },
|
|
@@ -947,7 +952,7 @@ var TOOL_SEARCH_FILTER_OPTION_CONTRACTS = [
|
|
|
947
952
|
{ param: "count", flag: "--count", booleanish: true },
|
|
948
953
|
{ param: "semanticWeight", flag: "--semantic-weight" },
|
|
949
954
|
...cloneOptionContracts(TOOL_ITEM_BASE_FILTER_OPTION_CONTRACTS),
|
|
950
|
-
...cloneOptionContracts(
|
|
955
|
+
...cloneOptionContracts(TOOL_ITEM_DATE_FILTER_OPTION_CONTRACTS),
|
|
951
956
|
...cloneOptionContracts(TOOL_SEARCH_RELATION_FILTER_OPTION_CONTRACTS),
|
|
952
957
|
...cloneOptionContracts(TOOL_GOVERNANCE_MISSING_OPTION_CONTRACTS),
|
|
953
958
|
...cloneOptionContracts(TOOL_CONTENT_PRESENCE_OPTION_CONTRACTS),
|
|
@@ -1323,6 +1328,8 @@ var LIST_FILTER_FLAG_CONTRACTS = [
|
|
|
1323
1328
|
{ flag: "--priority" },
|
|
1324
1329
|
{ flag: "--deadline-before" },
|
|
1325
1330
|
{ flag: "--deadline-after" },
|
|
1331
|
+
{ flag: "--today" },
|
|
1332
|
+
{ flag: "--recent" },
|
|
1326
1333
|
{ flag: "--updated-after" },
|
|
1327
1334
|
{ flag: "--updated-before" },
|
|
1328
1335
|
{ flag: "--created-after" },
|
|
@@ -2453,6 +2460,7 @@ var SEARCH_FLAG_CONTRACTS = [
|
|
|
2453
2460
|
var CONTRACTS_FLAG_CONTRACTS = [
|
|
2454
2461
|
{ flag: "--action" },
|
|
2455
2462
|
{ flag: "--command" },
|
|
2463
|
+
{ flag: "--summary" },
|
|
2456
2464
|
{ flag: "--schema-only" },
|
|
2457
2465
|
{ flag: "--flags-only" },
|
|
2458
2466
|
{ flag: "--availability-only" },
|
|
@@ -2638,6 +2646,7 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
2638
2646
|
allStreams: { type: "boolean" },
|
|
2639
2647
|
contractAction: { type: "string" },
|
|
2640
2648
|
command: { type: "string" },
|
|
2649
|
+
summary: { type: "boolean" },
|
|
2641
2650
|
schemaOnly: { type: "boolean" },
|
|
2642
2651
|
flagsOnly: { type: "boolean" },
|
|
2643
2652
|
availabilityOnly: { type: "boolean" },
|
|
@@ -2746,6 +2755,8 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
2746
2755
|
tag: { type: "string" },
|
|
2747
2756
|
deadlineBefore: { type: "string" },
|
|
2748
2757
|
deadlineAfter: { type: "string" },
|
|
2758
|
+
today: { type: "boolean" },
|
|
2759
|
+
recent: { type: "boolean" },
|
|
2749
2760
|
updatedAfter: { type: "string" },
|
|
2750
2761
|
updatedBefore: { type: "string" },
|
|
2751
2762
|
createdAfter: { type: "string" },
|
|
@@ -2912,7 +2923,6 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
2912
2923
|
},
|
|
2913
2924
|
maxDepth: { anyOf: [{ type: "string" }, { type: "number" }] },
|
|
2914
2925
|
collapse: { type: "string", enum: ["none", "repeated"] },
|
|
2915
|
-
summary: { type: "boolean" },
|
|
2916
2926
|
shell: { type: "string", enum: ["bash", "zsh", "fish"] },
|
|
2917
2927
|
stdin: { type: "boolean" },
|
|
2918
2928
|
file: { type: "string" },
|
|
@@ -3152,6 +3162,12 @@ var PM_TOOL_PARAMETER_METADATA = {
|
|
|
3152
3162
|
description: "npm version or dist-tag used for CLI and registry package upgrades.",
|
|
3153
3163
|
examples: ["latest", "next", "2026.5.11"]
|
|
3154
3164
|
},
|
|
3165
|
+
today: {
|
|
3166
|
+
description: "When true for list actions, include only items updated since local midnight today."
|
|
3167
|
+
},
|
|
3168
|
+
recent: {
|
|
3169
|
+
description: "When true for list actions, include only items updated in the last seven days."
|
|
3170
|
+
},
|
|
3155
3171
|
packageName: {
|
|
3156
3172
|
description: "Override the pm CLI package name for self-upgrade automation and tests.",
|
|
3157
3173
|
examples: ["@unbrained/pm-cli"]
|
|
@@ -3764,7 +3780,7 @@ var PM_TOOL_PARAMETER_METADATA = {
|
|
|
3764
3780
|
examples: ["none", "repeated"]
|
|
3765
3781
|
},
|
|
3766
3782
|
summary: {
|
|
3767
|
-
description: "When true
|
|
3783
|
+
description: "When true, return the command's compact summary projection (deps counts, health rollup, or contracts command intents)."
|
|
3768
3784
|
},
|
|
3769
3785
|
threshold: {
|
|
3770
3786
|
description: "Dedupe-audit fuzzy title similarity threshold between 0 and 1.",
|
|
@@ -3913,6 +3929,46 @@ var LIST_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
|
|
|
3913
3929
|
"brief",
|
|
3914
3930
|
"full"
|
|
3915
3931
|
]);
|
|
3932
|
+
var LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS = [
|
|
3933
|
+
[
|
|
3934
|
+
{ property: "today", schema: { const: true } },
|
|
3935
|
+
{ property: "recent", schema: { const: true } }
|
|
3936
|
+
],
|
|
3937
|
+
[
|
|
3938
|
+
{ property: "today", schema: { const: true } },
|
|
3939
|
+
{ property: "updatedAfter", schema: { type: "string", pattern: "\\S" } }
|
|
3940
|
+
],
|
|
3941
|
+
[
|
|
3942
|
+
{ property: "recent", schema: { const: true } },
|
|
3943
|
+
{ property: "updatedAfter", schema: { type: "string", pattern: "\\S" } }
|
|
3944
|
+
]
|
|
3945
|
+
];
|
|
3946
|
+
var CONTRACTS_PROJECTION_MUTUALLY_EXCLUSIVE_GROUPS = [
|
|
3947
|
+
[
|
|
3948
|
+
{ property: "summary", schema: { const: true } },
|
|
3949
|
+
{ property: "schemaOnly", schema: { const: true } }
|
|
3950
|
+
],
|
|
3951
|
+
[
|
|
3952
|
+
{ property: "summary", schema: { const: true } },
|
|
3953
|
+
{ property: "flagsOnly", schema: { const: true } }
|
|
3954
|
+
],
|
|
3955
|
+
[
|
|
3956
|
+
{ property: "summary", schema: { const: true } },
|
|
3957
|
+
{ property: "availabilityOnly", schema: { const: true } }
|
|
3958
|
+
],
|
|
3959
|
+
[
|
|
3960
|
+
{ property: "schemaOnly", schema: { const: true } },
|
|
3961
|
+
{ property: "flagsOnly", schema: { const: true } }
|
|
3962
|
+
],
|
|
3963
|
+
[
|
|
3964
|
+
{ property: "schemaOnly", schema: { const: true } },
|
|
3965
|
+
{ property: "availabilityOnly", schema: { const: true } }
|
|
3966
|
+
],
|
|
3967
|
+
[
|
|
3968
|
+
{ property: "flagsOnly", schema: { const: true } },
|
|
3969
|
+
{ property: "availabilityOnly", schema: { const: true } }
|
|
3970
|
+
]
|
|
3971
|
+
];
|
|
3916
3972
|
var AGGREGATE_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
|
|
3917
3973
|
...TOOL_AGGREGATE_OPTION_CONTRACTS.map((entry) => entry.param),
|
|
3918
3974
|
"count",
|
|
@@ -4026,14 +4082,14 @@ var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
4026
4082
|
},
|
|
4027
4083
|
copy: { required: ["id"], optional: ["title", "author", "message"] },
|
|
4028
4084
|
focus: { optional: ["id", "clear"], mutuallyExclusive: [["id", "clear"]] },
|
|
4029
|
-
list: { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4030
|
-
"list-all": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4031
|
-
"list-draft": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4032
|
-
"list-open": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4033
|
-
"list-in-progress": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4034
|
-
"list-blocked": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4035
|
-
"list-closed": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4036
|
-
"list-canceled": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4085
|
+
list: { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4086
|
+
"list-all": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4087
|
+
"list-draft": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4088
|
+
"list-open": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4089
|
+
"list-in-progress": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4090
|
+
"list-blocked": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4091
|
+
"list-closed": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4092
|
+
"list-canceled": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4037
4093
|
aggregate: { optional: AGGREGATE_CONTRACT_PARAMETER_KEYS },
|
|
4038
4094
|
"dedupe-audit": { optional: DEDUPE_AUDIT_CONTRACT_PARAMETER_KEYS },
|
|
4039
4095
|
guide: { optional: ["list", "format", "depth"] },
|
|
@@ -4377,7 +4433,10 @@ var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
4377
4433
|
]
|
|
4378
4434
|
},
|
|
4379
4435
|
gc: { optional: ["dryRun", "gcScope"] },
|
|
4380
|
-
contracts: {
|
|
4436
|
+
contracts: {
|
|
4437
|
+
optional: ["contractAction", "command", "summary", "schemaOnly", "flagsOnly", "availabilityOnly", "runtimeOnly", "activeOnly", "full"],
|
|
4438
|
+
mutuallyExclusiveWhen: CONTRACTS_PROJECTION_MUTUALLY_EXCLUSIVE_GROUPS
|
|
4439
|
+
},
|
|
4381
4440
|
completion: { required: ["shell"], optional: ["eagerTags"] },
|
|
4382
4441
|
claim: { required: ["id"], optional: LIFECYCLE_AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS },
|
|
4383
4442
|
release: { required: ["id"], optional: ["allowAuditRelease", ...LIFECYCLE_AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS] },
|
|
@@ -4491,6 +4550,18 @@ function buildActionScopedAllOf(contract) {
|
|
|
4491
4550
|
allOf.push({ not: { required: toSchemaKeyList(group) } });
|
|
4492
4551
|
}
|
|
4493
4552
|
}
|
|
4553
|
+
if (contract.mutuallyExclusiveWhen && contract.mutuallyExclusiveWhen.length > 0) {
|
|
4554
|
+
for (const group of contract.mutuallyExclusiveWhen) {
|
|
4555
|
+
allOf.push({
|
|
4556
|
+
not: {
|
|
4557
|
+
allOf: group.map((condition) => ({
|
|
4558
|
+
properties: { [condition.property]: condition.schema },
|
|
4559
|
+
required: [condition.property]
|
|
4560
|
+
}))
|
|
4561
|
+
}
|
|
4562
|
+
});
|
|
4563
|
+
}
|
|
4564
|
+
}
|
|
4494
4565
|
return allOf;
|
|
4495
4566
|
}
|
|
4496
4567
|
function buildActionScopedToolSchema(action) {
|
|
@@ -4725,6 +4796,6 @@ export {
|
|
|
4725
4796
|
PM_TOOL_PARAMETERS_SCHEMA,
|
|
4726
4797
|
PM_PROVIDER_TOOL_PARAMETERS_SCHEMA
|
|
4727
4798
|
};
|
|
4728
|
-
//# sourceMappingURL=chunk-
|
|
4799
|
+
//# sourceMappingURL=chunk-NBJCIAVV.js.map
|
|
4729
4800
|
|
|
4730
|
-
//# debugId=
|
|
4801
|
+
//# debugId=91f42ac1-1a02-5e2e-bec7-c149f56bd6c1
|