@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
|
@@ -869,7 +869,7 @@ function isPmExtensionPolicySurfaceContract(value) {
|
|
|
869
869
|
!(function() {
|
|
870
870
|
try {
|
|
871
871
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
872
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
872
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "138ce721-134d-57fb-8924-85e4bbe9ed5a");
|
|
873
873
|
} catch (e2) {
|
|
874
874
|
}
|
|
875
875
|
})();
|
|
@@ -884,12 +884,17 @@ var TOOL_ITEM_BASE_FILTER_OPTION_CONTRACTS = [
|
|
|
884
884
|
{ param: "deadlineBefore", flag: "--deadline-before" },
|
|
885
885
|
{ param: "deadlineAfter", flag: "--deadline-after" }
|
|
886
886
|
];
|
|
887
|
-
var
|
|
887
|
+
var TOOL_ITEM_DATE_FILTER_OPTION_CONTRACTS = [
|
|
888
888
|
{ param: "updatedAfter", flag: "--updated-after" },
|
|
889
889
|
{ param: "updatedBefore", flag: "--updated-before" },
|
|
890
890
|
{ param: "createdAfter", flag: "--created-after" },
|
|
891
891
|
{ param: "createdBefore", flag: "--created-before" }
|
|
892
892
|
];
|
|
893
|
+
var TOOL_LIST_WINDOW_FILTER_OPTION_CONTRACTS = [
|
|
894
|
+
{ param: "today", flag: "--today", booleanish: true },
|
|
895
|
+
{ param: "recent", flag: "--recent", booleanish: true },
|
|
896
|
+
...TOOL_ITEM_DATE_FILTER_OPTION_CONTRACTS
|
|
897
|
+
];
|
|
893
898
|
var TOOL_ITEM_RELATION_FILTER_OPTION_CONTRACTS = [
|
|
894
899
|
{ param: "assignee", flag: "--assignee" },
|
|
895
900
|
{ param: "assigneeFilter", flag: "--assignee-filter" },
|
|
@@ -938,7 +943,7 @@ var TOOL_CONTENT_PRESENCE_OPTION_CONTRACTS = [
|
|
|
938
943
|
];
|
|
939
944
|
var TOOL_LIST_FILTER_OPTION_CONTRACTS = [
|
|
940
945
|
...cloneOptionContracts(TOOL_ITEM_BASE_FILTER_OPTION_CONTRACTS),
|
|
941
|
-
...cloneOptionContracts(
|
|
946
|
+
...cloneOptionContracts(TOOL_LIST_WINDOW_FILTER_OPTION_CONTRACTS),
|
|
942
947
|
{ param: "ids", flag: "--ids" },
|
|
943
948
|
...cloneOptionContracts(TOOL_ITEM_RELATION_FILTER_OPTION_CONTRACTS),
|
|
944
949
|
{ param: "filterAcMissing", flag: "--filter-ac-missing" },
|
|
@@ -973,7 +978,7 @@ var TOOL_SEARCH_FILTER_OPTION_CONTRACTS = [
|
|
|
973
978
|
{ param: "count", flag: "--count", booleanish: true },
|
|
974
979
|
{ param: "semanticWeight", flag: "--semantic-weight" },
|
|
975
980
|
...cloneOptionContracts(TOOL_ITEM_BASE_FILTER_OPTION_CONTRACTS),
|
|
976
|
-
...cloneOptionContracts(
|
|
981
|
+
...cloneOptionContracts(TOOL_ITEM_DATE_FILTER_OPTION_CONTRACTS),
|
|
977
982
|
...cloneOptionContracts(TOOL_SEARCH_RELATION_FILTER_OPTION_CONTRACTS),
|
|
978
983
|
...cloneOptionContracts(TOOL_GOVERNANCE_MISSING_OPTION_CONTRACTS),
|
|
979
984
|
...cloneOptionContracts(TOOL_CONTENT_PRESENCE_OPTION_CONTRACTS),
|
|
@@ -1235,7 +1240,7 @@ function normalizeUniqueStringList(values) {
|
|
|
1235
1240
|
!(function() {
|
|
1236
1241
|
try {
|
|
1237
1242
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
1238
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
1243
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e611ac8a-29f5-52e7-a500-53adf3b72337");
|
|
1239
1244
|
} catch (e2) {
|
|
1240
1245
|
}
|
|
1241
1246
|
})();
|
|
@@ -1363,6 +1368,8 @@ var LIST_FILTER_FLAG_CONTRACTS = [
|
|
|
1363
1368
|
{ flag: "--priority" },
|
|
1364
1369
|
{ flag: "--deadline-before" },
|
|
1365
1370
|
{ flag: "--deadline-after" },
|
|
1371
|
+
{ flag: "--today" },
|
|
1372
|
+
{ flag: "--recent" },
|
|
1366
1373
|
{ flag: "--updated-after" },
|
|
1367
1374
|
{ flag: "--updated-before" },
|
|
1368
1375
|
{ flag: "--created-after" },
|
|
@@ -2493,6 +2500,7 @@ var SEARCH_FLAG_CONTRACTS = [
|
|
|
2493
2500
|
var CONTRACTS_FLAG_CONTRACTS = [
|
|
2494
2501
|
{ flag: "--action" },
|
|
2495
2502
|
{ flag: "--command" },
|
|
2503
|
+
{ flag: "--summary" },
|
|
2496
2504
|
{ flag: "--schema-only" },
|
|
2497
2505
|
{ flag: "--flags-only" },
|
|
2498
2506
|
{ flag: "--availability-only" },
|
|
@@ -2649,7 +2657,7 @@ function toCompletionFlagString(flagContracts, includeGlobal = true) {
|
|
|
2649
2657
|
!(function() {
|
|
2650
2658
|
try {
|
|
2651
2659
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
2652
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
2660
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8dcc22f9-9c0b-5270-85de-65e94eb0fdea");
|
|
2653
2661
|
} catch (e2) {
|
|
2654
2662
|
}
|
|
2655
2663
|
})();
|
|
@@ -2685,6 +2693,7 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
2685
2693
|
allStreams: { type: "boolean" },
|
|
2686
2694
|
contractAction: { type: "string" },
|
|
2687
2695
|
command: { type: "string" },
|
|
2696
|
+
summary: { type: "boolean" },
|
|
2688
2697
|
schemaOnly: { type: "boolean" },
|
|
2689
2698
|
flagsOnly: { type: "boolean" },
|
|
2690
2699
|
availabilityOnly: { type: "boolean" },
|
|
@@ -2793,6 +2802,8 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
2793
2802
|
tag: { type: "string" },
|
|
2794
2803
|
deadlineBefore: { type: "string" },
|
|
2795
2804
|
deadlineAfter: { type: "string" },
|
|
2805
|
+
today: { type: "boolean" },
|
|
2806
|
+
recent: { type: "boolean" },
|
|
2796
2807
|
updatedAfter: { type: "string" },
|
|
2797
2808
|
updatedBefore: { type: "string" },
|
|
2798
2809
|
createdAfter: { type: "string" },
|
|
@@ -2959,7 +2970,6 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
|
|
|
2959
2970
|
},
|
|
2960
2971
|
maxDepth: { anyOf: [{ type: "string" }, { type: "number" }] },
|
|
2961
2972
|
collapse: { type: "string", enum: ["none", "repeated"] },
|
|
2962
|
-
summary: { type: "boolean" },
|
|
2963
2973
|
shell: { type: "string", enum: ["bash", "zsh", "fish"] },
|
|
2964
2974
|
stdin: { type: "boolean" },
|
|
2965
2975
|
file: { type: "string" },
|
|
@@ -3199,6 +3209,12 @@ var PM_TOOL_PARAMETER_METADATA = {
|
|
|
3199
3209
|
description: "npm version or dist-tag used for CLI and registry package upgrades.",
|
|
3200
3210
|
examples: ["latest", "next", "2026.5.11"]
|
|
3201
3211
|
},
|
|
3212
|
+
today: {
|
|
3213
|
+
description: "When true for list actions, include only items updated since local midnight today."
|
|
3214
|
+
},
|
|
3215
|
+
recent: {
|
|
3216
|
+
description: "When true for list actions, include only items updated in the last seven days."
|
|
3217
|
+
},
|
|
3202
3218
|
packageName: {
|
|
3203
3219
|
description: "Override the pm CLI package name for self-upgrade automation and tests.",
|
|
3204
3220
|
examples: ["@unbrained/pm-cli"]
|
|
@@ -3811,7 +3827,7 @@ var PM_TOOL_PARAMETER_METADATA = {
|
|
|
3811
3827
|
examples: ["none", "repeated"]
|
|
3812
3828
|
},
|
|
3813
3829
|
summary: {
|
|
3814
|
-
description: "When true
|
|
3830
|
+
description: "When true, return the command's compact summary projection (deps counts, health rollup, or contracts command intents)."
|
|
3815
3831
|
},
|
|
3816
3832
|
threshold: {
|
|
3817
3833
|
description: "Dedupe-audit fuzzy title similarity threshold between 0 and 1.",
|
|
@@ -3883,7 +3899,7 @@ var PM_TOOL_ACTION_SCOPED_PARAMETER_METADATA = {
|
|
|
3883
3899
|
!(function() {
|
|
3884
3900
|
try {
|
|
3885
3901
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3886
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3902
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9e5e0763-b8ec-5aed-8b8d-9acf8c2cb056");
|
|
3887
3903
|
} catch (e2) {
|
|
3888
3904
|
}
|
|
3889
3905
|
})();
|
|
@@ -3967,6 +3983,46 @@ var LIST_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
|
|
|
3967
3983
|
"brief",
|
|
3968
3984
|
"full"
|
|
3969
3985
|
]);
|
|
3986
|
+
var LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS = [
|
|
3987
|
+
[
|
|
3988
|
+
{ property: "today", schema: { const: true } },
|
|
3989
|
+
{ property: "recent", schema: { const: true } }
|
|
3990
|
+
],
|
|
3991
|
+
[
|
|
3992
|
+
{ property: "today", schema: { const: true } },
|
|
3993
|
+
{ property: "updatedAfter", schema: { type: "string", pattern: "\\S" } }
|
|
3994
|
+
],
|
|
3995
|
+
[
|
|
3996
|
+
{ property: "recent", schema: { const: true } },
|
|
3997
|
+
{ property: "updatedAfter", schema: { type: "string", pattern: "\\S" } }
|
|
3998
|
+
]
|
|
3999
|
+
];
|
|
4000
|
+
var CONTRACTS_PROJECTION_MUTUALLY_EXCLUSIVE_GROUPS = [
|
|
4001
|
+
[
|
|
4002
|
+
{ property: "summary", schema: { const: true } },
|
|
4003
|
+
{ property: "schemaOnly", schema: { const: true } }
|
|
4004
|
+
],
|
|
4005
|
+
[
|
|
4006
|
+
{ property: "summary", schema: { const: true } },
|
|
4007
|
+
{ property: "flagsOnly", schema: { const: true } }
|
|
4008
|
+
],
|
|
4009
|
+
[
|
|
4010
|
+
{ property: "summary", schema: { const: true } },
|
|
4011
|
+
{ property: "availabilityOnly", schema: { const: true } }
|
|
4012
|
+
],
|
|
4013
|
+
[
|
|
4014
|
+
{ property: "schemaOnly", schema: { const: true } },
|
|
4015
|
+
{ property: "flagsOnly", schema: { const: true } }
|
|
4016
|
+
],
|
|
4017
|
+
[
|
|
4018
|
+
{ property: "schemaOnly", schema: { const: true } },
|
|
4019
|
+
{ property: "availabilityOnly", schema: { const: true } }
|
|
4020
|
+
],
|
|
4021
|
+
[
|
|
4022
|
+
{ property: "flagsOnly", schema: { const: true } },
|
|
4023
|
+
{ property: "availabilityOnly", schema: { const: true } }
|
|
4024
|
+
]
|
|
4025
|
+
];
|
|
3970
4026
|
var AGGREGATE_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
|
|
3971
4027
|
...TOOL_AGGREGATE_OPTION_CONTRACTS.map((entry) => entry.param),
|
|
3972
4028
|
"count",
|
|
@@ -4080,14 +4136,14 @@ var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
4080
4136
|
},
|
|
4081
4137
|
copy: { required: ["id"], optional: ["title", "author", "message"] },
|
|
4082
4138
|
focus: { optional: ["id", "clear"], mutuallyExclusive: [["id", "clear"]] },
|
|
4083
|
-
list: { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4084
|
-
"list-all": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4085
|
-
"list-draft": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4086
|
-
"list-open": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4087
|
-
"list-in-progress": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4088
|
-
"list-blocked": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4089
|
-
"list-closed": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4090
|
-
"list-canceled": { optional: LIST_CONTRACT_PARAMETER_KEYS },
|
|
4139
|
+
list: { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4140
|
+
"list-all": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4141
|
+
"list-draft": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4142
|
+
"list-open": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4143
|
+
"list-in-progress": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4144
|
+
"list-blocked": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4145
|
+
"list-closed": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4146
|
+
"list-canceled": { optional: LIST_CONTRACT_PARAMETER_KEYS, mutuallyExclusiveWhen: LIST_WINDOW_MUTUALLY_EXCLUSIVE_GROUPS },
|
|
4091
4147
|
aggregate: { optional: AGGREGATE_CONTRACT_PARAMETER_KEYS },
|
|
4092
4148
|
"dedupe-audit": { optional: DEDUPE_AUDIT_CONTRACT_PARAMETER_KEYS },
|
|
4093
4149
|
guide: { optional: ["list", "format", "depth"] },
|
|
@@ -4431,7 +4487,10 @@ var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
4431
4487
|
]
|
|
4432
4488
|
},
|
|
4433
4489
|
gc: { optional: ["dryRun", "gcScope"] },
|
|
4434
|
-
contracts: {
|
|
4490
|
+
contracts: {
|
|
4491
|
+
optional: ["contractAction", "command", "summary", "schemaOnly", "flagsOnly", "availabilityOnly", "runtimeOnly", "activeOnly", "full"],
|
|
4492
|
+
mutuallyExclusiveWhen: CONTRACTS_PROJECTION_MUTUALLY_EXCLUSIVE_GROUPS
|
|
4493
|
+
},
|
|
4435
4494
|
completion: { required: ["shell"], optional: ["eagerTags"] },
|
|
4436
4495
|
claim: { required: ["id"], optional: LIFECYCLE_AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS },
|
|
4437
4496
|
release: { required: ["id"], optional: ["allowAuditRelease", ...LIFECYCLE_AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS] },
|
|
@@ -4545,6 +4604,18 @@ function buildActionScopedAllOf(contract) {
|
|
|
4545
4604
|
allOf.push({ not: { required: toSchemaKeyList(group) } });
|
|
4546
4605
|
}
|
|
4547
4606
|
}
|
|
4607
|
+
if (contract.mutuallyExclusiveWhen && contract.mutuallyExclusiveWhen.length > 0) {
|
|
4608
|
+
for (const group of contract.mutuallyExclusiveWhen) {
|
|
4609
|
+
allOf.push({
|
|
4610
|
+
not: {
|
|
4611
|
+
allOf: group.map((condition) => ({
|
|
4612
|
+
properties: { [condition.property]: condition.schema },
|
|
4613
|
+
required: [condition.property]
|
|
4614
|
+
}))
|
|
4615
|
+
}
|
|
4616
|
+
});
|
|
4617
|
+
}
|
|
4618
|
+
}
|
|
4548
4619
|
return allOf;
|
|
4549
4620
|
}
|
|
4550
4621
|
function buildActionScopedToolSchema(action) {
|
|
@@ -4788,4 +4859,4 @@ export {
|
|
|
4788
4859
|
PM_TOOL_PARAMETERS_SCHEMA,
|
|
4789
4860
|
PM_PROVIDER_TOOL_PARAMETERS_SCHEMA
|
|
4790
4861
|
};
|
|
4791
|
-
//# sourceMappingURL=chunk-
|
|
4862
|
+
//# sourceMappingURL=chunk-K4NMHZR3.js.map
|