@unbrained/pm-cli 2026.10.1 → 2026.10.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.
Files changed (126) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +8 -0
  3. package/dist/cli/error-guidance.d.ts +5 -0
  4. package/dist/cli/error-guidance.js +1 -1
  5. package/dist/cli/main.js +2 -2
  6. package/dist/cli/register-structured-mutation.d.ts +2 -0
  7. package/dist/cli/register-structured-mutation.js +1 -1
  8. package/dist/cli/runtime/projection-retry.d.ts +9 -0
  9. package/dist/cli/runtime/projection-retry.js +2 -0
  10. package/dist/cli/runtime/selection.d.ts +5 -1
  11. package/dist/cli/runtime/selection.js +1 -1
  12. package/dist/cli-bundle/bundle-manifest.json +154 -154
  13. package/dist/cli-bundle/chunks/{chunk-SCZMJ5DC.js → chunk-7FUEQOYG.js} +2 -2
  14. package/dist/cli-bundle/chunks/chunk-7NL3A2BY.js +2 -0
  15. package/dist/cli-bundle/chunks/chunk-CZLAWXDR.js +8 -0
  16. package/dist/cli-bundle/chunks/chunk-HY6M34B4.js +2 -0
  17. package/dist/cli-bundle/chunks/{chunk-A2UPOCSW.js → chunk-MTJMOI4I.js} +12 -12
  18. package/dist/cli-bundle/chunks/chunk-R4TUD355.js +6 -0
  19. package/dist/cli-bundle/chunks/chunk-R7ULWMBG.js +238 -0
  20. package/dist/cli-bundle/chunks/chunk-SV7CZEVV.js +20 -0
  21. package/dist/cli-bundle/chunks/chunk-TRYXVQ7W.js +3 -0
  22. package/dist/cli-bundle/chunks/{chunk-AYHLUJKD.js → chunk-WP6NRH72.js} +2 -2
  23. package/dist/cli-bundle/chunks/{chunk-VWVFKPLX.js → chunk-XOUBIF6Z.js} +38 -38
  24. package/dist/cli-bundle/chunks/chunk-Z2GYDSAO.js +3 -0
  25. package/dist/cli-bundle/chunks/{chunk-DGOIXJZJ.js → chunk-ZI7F3FVE.js} +47 -47
  26. package/dist/cli-bundle/chunks/{register-list-query-L6HAHW7V.js → register-list-query-R4PHNB7W.js} +2 -2
  27. package/dist/cli-bundle/chunks/register-mutation-PDDAUDYV.js +20 -0
  28. package/dist/cli-bundle/chunks/{register-operations-3E5U4TOE.js → register-operations-A5HJT46K.js} +2 -2
  29. package/dist/cli-bundle/chunks/{register-setup-VUD37N4A.js → register-setup-EZ2F25JI.js} +2 -2
  30. package/dist/cli-bundle/focused-chunks/{chunk-MOUCTR72.js → chunk-3BIYG72P.js} +2 -2
  31. package/dist/cli-bundle/focused-chunks/{chunk-T4PZJQG4.js → chunk-4FFPGNCJ.js} +2 -2
  32. package/dist/cli-bundle/focused-chunks/{chunk-YBQ27KG7.js → chunk-BLCTBSGT.js} +43 -43
  33. package/dist/cli-bundle/focused-chunks/{chunk-XUCXRZZZ.js → chunk-DBD4W4QP.js} +2 -2
  34. package/dist/cli-bundle/focused-chunks/{chunk-6275G2AN.js → chunk-E754JDLY.js} +2 -2
  35. package/dist/cli-bundle/focused-chunks/{chunk-4AORVUT4.js → chunk-EJN7DY3B.js} +2 -2
  36. package/dist/cli-bundle/focused-chunks/{chunk-OMBDUJWZ.js → chunk-FKK2HI3S.js} +2 -2
  37. package/dist/cli-bundle/focused-chunks/chunk-GBD4EN6S.js +12 -0
  38. package/dist/cli-bundle/focused-chunks/{chunk-ZJ3CLTV4.js → chunk-GMYUNHST.js} +2 -2
  39. package/dist/cli-bundle/focused-chunks/chunk-IR4UXLRP.js +20 -0
  40. package/dist/cli-bundle/focused-chunks/{chunk-RIJQQOEZ.js → chunk-UTRSM3ZK.js} +2 -2
  41. package/dist/cli-bundle/focused-chunks/{chunk-EVMH4SKN.js → chunk-VVWYI2X7.js} +2 -2
  42. package/dist/cli-bundle/focused-chunks/chunk-WCY6HRZO.js +30 -0
  43. package/dist/cli-bundle/focused-chunks/{chunk-XB5Q2P7Z.js → chunk-XRSCIYHR.js} +2 -2
  44. package/dist/cli-bundle/focused-chunks/chunk-YC32ZSLS.js +165 -0
  45. package/dist/cli-bundle/focused-chunks/{chunk-IQBFYQF2.js → chunk-ZIXFMIUL.js} +2 -2
  46. package/dist/cli-bundle/main.js +22 -22
  47. package/dist/cli-bundle/sdk-authoring.js +1 -1
  48. package/dist/cli-bundle/sdk-contracts.js +2 -2
  49. package/dist/cli-bundle/sdk-core.js +2 -2
  50. package/dist/cli-bundle/sdk-governance.js +1 -1
  51. package/dist/cli-bundle/sdk-graph.js +1 -1
  52. package/dist/cli-bundle/sdk-merge.js +48 -48
  53. package/dist/cli-bundle/sdk-query.js +1 -1
  54. package/dist/cli-bundle/sdk-runtime.js +1 -1
  55. package/dist/cli-bundle/sdk-testing.js +1 -1
  56. package/dist/cli-bundle/sdk.js +7 -7
  57. package/dist/core/fs/fs-utils.d.ts +11 -0
  58. package/dist/core/fs/fs-utils.js +2 -2
  59. package/dist/core/shared/errors.d.ts +9 -0
  60. package/dist/core/shared/errors.js +1 -1
  61. package/dist/core/store/settings.d.ts +15 -5
  62. package/dist/core/store/settings.js +3 -3
  63. package/dist/core/telemetry/runtime.js +3 -3
  64. package/dist/mcp/server.js +1 -1
  65. package/dist/sdk/agent/closed-domain-contracts.js +1 -1
  66. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1 -1
  67. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +1 -1
  68. package/dist/sdk/item-transaction.d.ts +11 -0
  69. package/dist/sdk/item-transaction.js +1 -1
  70. package/dist/sdk/pagination.js +1 -1
  71. package/dist/sdk/public-surface.json +1 -1
  72. package/dist/sdk/query/context.d.ts +2 -0
  73. package/dist/sdk/query/context.js +1 -1
  74. package/dist/sdk/query/get.js +1 -1
  75. package/dist/sdk/query/list.js +1 -1
  76. package/dist/sdk/query/search-contracts.js +1 -1
  77. package/dist/sdk/query/search-pagination.d.ts +4 -0
  78. package/dist/sdk/query/search-pagination.js +1 -1
  79. package/dist/sdk/query/search.js +1 -1
  80. package/dist/sdk/read-output/options.d.ts +14 -0
  81. package/dist/sdk/read-output/options.js +2 -0
  82. package/dist/sdk/read-output-budget.js +1 -1
  83. package/dist/sdk/read-output-contracts.js +1 -1
  84. package/dist/sdk/read-output-rows.d.ts +4 -0
  85. package/dist/sdk/read-output-rows.js +1 -1
  86. package/dist/sdk/runtime-primitives.d.ts +2 -2
  87. package/dist/sdk/runtime-primitives.js +1 -1
  88. package/dist/sdk/runtime.js +1 -1
  89. package/dist/sdk/workspace-transaction.d.ts +2 -0
  90. package/dist/sdk/workspace-transaction.js +2 -2
  91. package/docs/OUTPUT_PROJECTION_CONTRACTS.md +27 -0
  92. package/docs/SDK.md +98 -0
  93. package/docs/generated/REFUSAL_CLOSURE_CENSUS.md +5 -3
  94. package/marketplace.json +2 -2
  95. package/package.json +1 -1
  96. package/packages/pm-beads/package.json +1 -1
  97. package/packages/pm-calendar/package.json +1 -1
  98. package/packages/pm-command-kit/package.json +1 -1
  99. package/packages/pm-digital-twin/package.json +1 -1
  100. package/packages/pm-governance-audit/package.json +1 -1
  101. package/packages/pm-guide-shell/package.json +1 -1
  102. package/packages/pm-kanban/package.json +1 -1
  103. package/packages/pm-lifecycle-hooks/package.json +1 -1
  104. package/packages/pm-linked-test-adapters/package.json +1 -1
  105. package/packages/pm-search-advanced/package.json +1 -1
  106. package/packages/pm-templates/package.json +1 -1
  107. package/packages/pm-todos/package.json +1 -1
  108. package/packages/pm-vcs/package.json +1 -1
  109. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  110. package/plugins/pm-claude/package.json +2 -2
  111. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  112. package/plugins/pm-codex/package.json +2 -2
  113. package/plugins/pm-codex/plugin.json +1 -1
  114. package/dist/cli-bundle/chunks/chunk-7E2EBJLY.js +0 -3
  115. package/dist/cli-bundle/chunks/chunk-BNAT4EYR.js +0 -20
  116. package/dist/cli-bundle/chunks/chunk-HGJLVN56.js +0 -8
  117. package/dist/cli-bundle/chunks/chunk-JAVO3Z42.js +0 -6
  118. package/dist/cli-bundle/chunks/chunk-TV3YDE36.js +0 -2
  119. package/dist/cli-bundle/chunks/chunk-UIAH7UFK.js +0 -238
  120. package/dist/cli-bundle/chunks/chunk-USTAFHIM.js +0 -2
  121. package/dist/cli-bundle/chunks/chunk-YM342ELM.js +0 -3
  122. package/dist/cli-bundle/chunks/register-mutation-6OCZVTW5.js +0 -20
  123. package/dist/cli-bundle/focused-chunks/chunk-3CAZ7Z4R.js +0 -30
  124. package/dist/cli-bundle/focused-chunks/chunk-DJPP2HAK.js +0 -12
  125. package/dist/cli-bundle/focused-chunks/chunk-IDB6E3ZV.js +0 -165
  126. package/dist/cli-bundle/focused-chunks/chunk-UPOMLSW7.js +0 -20
@@ -1,38 +1,30 @@
1
1
  {
2
2
  "schema_version": 1,
3
- "generation": "684799bd192132f48697b7ce59857dc0d16b9be26d1e0b161afeed044f1a77be",
3
+ "generation": "9ebc00b21b28c20faed9794bd2e3827304378ad96b7da05a4770b9bc782ed1ae",
4
4
  "files": [
5
5
  {
6
- "path": "chunks/chunk-7E2EBJLY.js",
7
- "sha256": "4b100a4dff1e40a06afe47498a09f202447ec9533f62187c81021509ee2d8a29"
6
+ "path": "chunks/chunk-7FUEQOYG.js",
7
+ "sha256": "92479a42816897eed6eb51cf248102de604e75589017d6775a82b5517b08c350"
8
8
  },
9
9
  {
10
- "path": "chunks/chunk-7E2EBJLY.js.map",
11
- "sha256": "f288f09ae199e6c71f6ea68d858ada84cb3497e0fe6c4ab7ff495baad5ff7ac5"
12
- },
13
- {
14
- "path": "chunks/chunk-A2UPOCSW.js",
15
- "sha256": "3f854ba286fa4d5c007ea94a6b5fbff2bce0300727b52a2150e139b4986e53ba"
16
- },
17
- {
18
- "path": "chunks/chunk-A2UPOCSW.js.map",
19
- "sha256": "b8f27e281f9b0ba31e81237b469721d96b406a125cd0e22a3a9306faea27221b"
10
+ "path": "chunks/chunk-7FUEQOYG.js.map",
11
+ "sha256": "15e812737eff8caa722e0c3c9dca2af60cbc1975626ace416651a73bab61617c"
20
12
  },
21
13
  {
22
- "path": "chunks/chunk-AYHLUJKD.js",
23
- "sha256": "d339faf9675e3ab1946a7df5df90576e8cc9bd59a5d7fd1a5933a0237a2701cc"
14
+ "path": "chunks/chunk-7NL3A2BY.js",
15
+ "sha256": "cd445b7b840684cde78b934bb2a206f4cd869f74827e0e5a7811f3b7f60945aa"
24
16
  },
25
17
  {
26
- "path": "chunks/chunk-AYHLUJKD.js.map",
27
- "sha256": "3ef6aaaab9d223b065b678a7eb29cc8fb1a241156372d5809b00812dd5a84afb"
18
+ "path": "chunks/chunk-7NL3A2BY.js.map",
19
+ "sha256": "5359cc076347c8aecc46389acfdcbf59975023dcddf1541e841de0a89b9c97b6"
28
20
  },
29
21
  {
30
- "path": "chunks/chunk-BNAT4EYR.js",
31
- "sha256": "8f8e634dbf2f6d18a8c056bba79b53a79bd2ecb6105e5778324dc8fd5bc95954"
22
+ "path": "chunks/chunk-CZLAWXDR.js",
23
+ "sha256": "0896c3f2e53a9872aecf62a78a251c5e8ec464f4f1fd92ca7f0aa7927138be9b"
32
24
  },
33
25
  {
34
- "path": "chunks/chunk-BNAT4EYR.js.map",
35
- "sha256": "4ac5badee3213f03a8f2adcbb9e73c18ef60f7d2a26fc158587e847dcaeaf868"
26
+ "path": "chunks/chunk-CZLAWXDR.js.map",
27
+ "sha256": "8cd5ac3baf78de52045227b33680e156243802965d3bbd0480d89729ce21b007"
36
28
  },
37
29
  {
38
30
  "path": "chunks/chunk-DEZPZOQ7.js",
@@ -43,36 +35,36 @@
43
35
  "sha256": "ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"
44
36
  },
45
37
  {
46
- "path": "chunks/chunk-DGOIXJZJ.js",
47
- "sha256": "3cedf38bc57522047d3d02a55f50762000d8fce44ae5144fda6674daa1f2a543"
38
+ "path": "chunks/chunk-HY6M34B4.js",
39
+ "sha256": "dc633f00791f3ac5f4007a92f8a7f39e2ed714590c12bf32e0383e3d271ab2d4"
48
40
  },
49
41
  {
50
- "path": "chunks/chunk-DGOIXJZJ.js.map",
51
- "sha256": "61220c44bcd284cb50ed32e80a6ddcc27c24544810d66aa6c16a9150ea0653e3"
42
+ "path": "chunks/chunk-HY6M34B4.js.map",
43
+ "sha256": "ea4bcf1d916e4d177cb24bfe04c6b4e4b4cffc96ea984df4bc8f44e3c9d33ad5"
52
44
  },
53
45
  {
54
- "path": "chunks/chunk-HGJLVN56.js",
55
- "sha256": "cc20d54e1f04ac34a6454e234b5311d85340baa13b7d4c88f53d12d930723bdc"
46
+ "path": "chunks/chunk-MTJMOI4I.js",
47
+ "sha256": "1455569e648e925adb434abaf1fb07433393e1a1d6243c0fb3c9315100889d22"
56
48
  },
57
49
  {
58
- "path": "chunks/chunk-HGJLVN56.js.map",
59
- "sha256": "d88c4cda7b06835bb37627b6eb9a3d0c3884a4289908a5b7e4ee66daee517ce2"
50
+ "path": "chunks/chunk-MTJMOI4I.js.map",
51
+ "sha256": "a696112b08740febb3e945bae7efbcd5b27640da75be30c37d01ea4910ead053"
60
52
  },
61
53
  {
62
- "path": "chunks/chunk-JAVO3Z42.js",
63
- "sha256": "03fac322c7c97a51bc23cf29e6dc70a86b3bc2cd51bd169f4e8acf4d17fd96f5"
54
+ "path": "chunks/chunk-R4TUD355.js",
55
+ "sha256": "563482d57538087fab50aed2fa55019b6d90058ff9780c82052cdd94948a2136"
64
56
  },
65
57
  {
66
- "path": "chunks/chunk-JAVO3Z42.js.map",
67
- "sha256": "2ded21153263d469d884bec5c05172877fd33e2ad9e1ceb5a557e14c8426da82"
58
+ "path": "chunks/chunk-R4TUD355.js.map",
59
+ "sha256": "c213cb6680ca55981b30d0dec6401d770b3cac40964784918e840700471e7b9c"
68
60
  },
69
61
  {
70
- "path": "chunks/chunk-SCZMJ5DC.js",
71
- "sha256": "7a38b95e76beb6b388e2a5af0b676e63d6365777c1cebd4e408404d45c947df5"
62
+ "path": "chunks/chunk-R7ULWMBG.js",
63
+ "sha256": "0fbfdf410823781ad466f902703edb8660566befecd90e716916583bffa2e66a"
72
64
  },
73
65
  {
74
- "path": "chunks/chunk-SCZMJ5DC.js.map",
75
- "sha256": "15e812737eff8caa722e0c3c9dca2af60cbc1975626ace416651a73bab61617c"
66
+ "path": "chunks/chunk-R7ULWMBG.js.map",
67
+ "sha256": "ea8cbea45182297293ba6b7f18dc6b7503de12e529b4f9257783441a18e97be9"
76
68
  },
77
69
  {
78
70
  "path": "chunks/chunk-SGFQQXFD.js",
@@ -83,224 +75,232 @@
83
75
  "sha256": "ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"
84
76
  },
85
77
  {
86
- "path": "chunks/chunk-TV3YDE36.js",
87
- "sha256": "233bd9280e9baf1718614f749f791d011a4d89a7fad9e6ea5c4cef2751ba7dcb"
78
+ "path": "chunks/chunk-SV7CZEVV.js",
79
+ "sha256": "9dcfcf611a0fe50d65086252632e6bf1e6965e7824f22b42d6d69d53766c6fed"
80
+ },
81
+ {
82
+ "path": "chunks/chunk-SV7CZEVV.js.map",
83
+ "sha256": "4284b482efd497941b0ff1e3585ce905b160b74b8e6b7120f296eb7958659a92"
84
+ },
85
+ {
86
+ "path": "chunks/chunk-TRYXVQ7W.js",
87
+ "sha256": "e321f93adfe4cb445ae46ed01595a19808fa9687738e2b67c9cddecbafab25c7"
88
88
  },
89
89
  {
90
- "path": "chunks/chunk-TV3YDE36.js.map",
91
- "sha256": "5063318aa69aee5e33b1feb034368903a6a35230a2de6c444187bc235afc272b"
90
+ "path": "chunks/chunk-TRYXVQ7W.js.map",
91
+ "sha256": "297d305295eb05f2d7e8dd7512686e7e82d0cc6042ff0e6933aba590fe18bdd3"
92
92
  },
93
93
  {
94
- "path": "chunks/chunk-UIAH7UFK.js",
95
- "sha256": "ef76b7e6677486fd1fac2acd78fba63cae45af36cdbc591e6dcb0e982e792fc7"
94
+ "path": "chunks/chunk-WP6NRH72.js",
95
+ "sha256": "02d317df66efffdd7956941a0116cdba301de04219ea13aa42f4a972b8983198"
96
96
  },
97
97
  {
98
- "path": "chunks/chunk-UIAH7UFK.js.map",
99
- "sha256": "a9da8153e2be469d357295a1b3af23b5994d65b149f4aaf7b442630a0926b17a"
98
+ "path": "chunks/chunk-WP6NRH72.js.map",
99
+ "sha256": "3ef6aaaab9d223b065b678a7eb29cc8fb1a241156372d5809b00812dd5a84afb"
100
100
  },
101
101
  {
102
- "path": "chunks/chunk-USTAFHIM.js",
103
- "sha256": "1d9f455ee2a2f3d3a6d95bf896e9f903035babec84811a0796d6c5817405e1f5"
102
+ "path": "chunks/chunk-XOUBIF6Z.js",
103
+ "sha256": "808056615ee833b2df1e50f461961c5dc5167e64955f905c0625a57e47d4c473"
104
104
  },
105
105
  {
106
- "path": "chunks/chunk-USTAFHIM.js.map",
107
- "sha256": "47b2a00ab0a92be37aace914a7677a473ec8b0b21c43e29972fdc83ec55f6795"
106
+ "path": "chunks/chunk-XOUBIF6Z.js.map",
107
+ "sha256": "b99b6cbc471dceb69941c27a9bf2108a6315e4eef849c5216dac8ed0f7d46570"
108
108
  },
109
109
  {
110
- "path": "chunks/chunk-VWVFKPLX.js",
111
- "sha256": "8c0325fc6e50b26aa8c92c066598d0052938277a239b868cc6568738b182d01b"
110
+ "path": "chunks/chunk-Z2GYDSAO.js",
111
+ "sha256": "c58a31ec9c8af2753ba58e5b8207310bcdd1fb4b750cc4ef596908aee5d66fc8"
112
112
  },
113
113
  {
114
- "path": "chunks/chunk-VWVFKPLX.js.map",
115
- "sha256": "972ee1054c9fec999cf4056c4781af324ba929d4eaebd1ff2f88e932608cb103"
114
+ "path": "chunks/chunk-Z2GYDSAO.js.map",
115
+ "sha256": "39c9d1a7bb6d6eea2a60ce3818d45b2c5038c87081022c66685ba0d2d4595e95"
116
116
  },
117
117
  {
118
- "path": "chunks/chunk-YM342ELM.js",
119
- "sha256": "d2ff2656ea67999c63fee28ab9a8a93e6e12ed6998d57b1c5a6e6667903ad465"
118
+ "path": "chunks/chunk-ZI7F3FVE.js",
119
+ "sha256": "f58c987bb105e81ad70af3c071725f9b152327a9114bd32067b12cae660da7eb"
120
120
  },
121
121
  {
122
- "path": "chunks/chunk-YM342ELM.js.map",
123
- "sha256": "80a615273c13c3004a0977f41ade5169cca1e37b64c3942f2c9c9c33a5fc5965"
122
+ "path": "chunks/chunk-ZI7F3FVE.js.map",
123
+ "sha256": "22bf58cfe55d8c18e0b805da592f79a4048466d5e57fd329cf12573a25ea353e"
124
124
  },
125
125
  {
126
- "path": "chunks/register-list-query-L6HAHW7V.js",
127
- "sha256": "5e6e2229bf4267a507998178e931b08f49eb0701cee85370d42d86e67cff51b3"
126
+ "path": "chunks/register-list-query-R4PHNB7W.js",
127
+ "sha256": "472e2c8b3b3baae23154015dbe0cc6ac11fa0ae2f7a8e8b9071aa82cab290c03"
128
128
  },
129
129
  {
130
- "path": "chunks/register-list-query-L6HAHW7V.js.map",
130
+ "path": "chunks/register-list-query-R4PHNB7W.js.map",
131
131
  "sha256": "7c1dd3a5a9437bfffd7dcd00776150c854f9e6a6fae37dc42bc6fb8fa18b9f3f"
132
132
  },
133
133
  {
134
- "path": "chunks/register-mutation-6OCZVTW5.js",
135
- "sha256": "b244f3c04fcaf681fa03da5e2ff89a47ab7b08472e69303bc1d1a9ca68b883cd"
134
+ "path": "chunks/register-mutation-PDDAUDYV.js",
135
+ "sha256": "83ee66005c0250622495ebd8d2ce9e91337c45e525269c66af1d2bed566ab778"
136
136
  },
137
137
  {
138
- "path": "chunks/register-mutation-6OCZVTW5.js.map",
139
- "sha256": "e089675bf7438daa2940e00c2a9f681d57f8834f3ab4297f2c54fcb56157529c"
138
+ "path": "chunks/register-mutation-PDDAUDYV.js.map",
139
+ "sha256": "a03480c00e7529a953ca654d6f73b3ac4f0456967cdfc382b12deca78775ca75"
140
140
  },
141
141
  {
142
- "path": "chunks/register-operations-3E5U4TOE.js",
143
- "sha256": "983cb31f58e9c935034b93a8732903ba14557b10c09c180ef6b83c4f1134afde"
142
+ "path": "chunks/register-operations-A5HJT46K.js",
143
+ "sha256": "6fd01b3955f55db21d813dcf9695f08adc7f9a38e1f49ae6d52b205cc8898ce5"
144
144
  },
145
145
  {
146
- "path": "chunks/register-operations-3E5U4TOE.js.map",
146
+ "path": "chunks/register-operations-A5HJT46K.js.map",
147
147
  "sha256": "2dd98228c8c79f3846db025459067402853372730234f536f8b2f49f74da7863"
148
148
  },
149
149
  {
150
- "path": "chunks/register-setup-VUD37N4A.js",
151
- "sha256": "b5158288d7b34f3d1bee610dee8691dd5e5d687c2680a8f8af2ac02cac1953b4"
150
+ "path": "chunks/register-setup-EZ2F25JI.js",
151
+ "sha256": "8607dddc04540609f1ca591c18d70b63c69510830d7ed364f935c6e9eaa1d4e5"
152
152
  },
153
153
  {
154
- "path": "chunks/register-setup-VUD37N4A.js.map",
154
+ "path": "chunks/register-setup-EZ2F25JI.js.map",
155
155
  "sha256": "dc4517127745f292c96fd6eb0ee07f5ba1898bbd2a52266987c5609dc6f473cf"
156
156
  },
157
157
  {
158
- "path": "focused-chunks/chunk-3CAZ7Z4R.js",
159
- "sha256": "020b50cb56471f762b7dffdff658546a31c46933adc308101b2283c8dda0eff1"
158
+ "path": "focused-chunks/chunk-3BIYG72P.js",
159
+ "sha256": "fb40c3da47179454fd8547fec002762e857dcde1141610d33edaa7bdb22101fe"
160
160
  },
161
161
  {
162
- "path": "focused-chunks/chunk-3CAZ7Z4R.js.map",
163
- "sha256": "76b8172fe24905a1601c4de8db9cb978413d62b86e9d26d27fb656511ab5e709"
162
+ "path": "focused-chunks/chunk-3BIYG72P.js.map",
163
+ "sha256": "b18ce126e128112da9d3e61c031b117dcf0c3f8740dd008785445992816e81ef"
164
164
  },
165
165
  {
166
- "path": "focused-chunks/chunk-4AORVUT4.js",
167
- "sha256": "39054879f0de8dbee72c7dd4d0b4fab20e1623d153134b7575741aff303048af"
166
+ "path": "focused-chunks/chunk-4FFPGNCJ.js",
167
+ "sha256": "10aa08ee989cc1febe53b8599c2d6166711068bb053a5145452c447e3aeb840f"
168
168
  },
169
169
  {
170
- "path": "focused-chunks/chunk-4AORVUT4.js.map",
171
- "sha256": "183b0e1daafca0f7e68ed92c7579cc70b35bad651125b9723c62fb64d2217cc1"
170
+ "path": "focused-chunks/chunk-4FFPGNCJ.js.map",
171
+ "sha256": "974f8e877cfa8adb7e05770e5573548ae5f041e06cdf871f34b1fa2f4e63fd3e"
172
172
  },
173
173
  {
174
- "path": "focused-chunks/chunk-6275G2AN.js",
175
- "sha256": "441e230e3a6a74938b597dc691677b78cb9b6c55420e790c1de1811e804b7e2c"
174
+ "path": "focused-chunks/chunk-BLCTBSGT.js",
175
+ "sha256": "09a2b5bb31dc6f94f4a2d7fc0d28cb268750f608eeca8ad934cb77e8ea65584a"
176
176
  },
177
177
  {
178
- "path": "focused-chunks/chunk-6275G2AN.js.map",
179
- "sha256": "a0f9f4871b32d768d124280b7044c2936b57b7e311fdca325a19d34920809f72"
178
+ "path": "focused-chunks/chunk-BLCTBSGT.js.map",
179
+ "sha256": "1ea26c3f9605a5b397c59e598be40a69aef4c52d82f626672cf5a682df774f4a"
180
180
  },
181
181
  {
182
- "path": "focused-chunks/chunk-DJPP2HAK.js",
183
- "sha256": "38cd2ea6ea0f2936655eab9ee24c38989931539ecae22afc9a7be050bdc28b7f"
182
+ "path": "focused-chunks/chunk-DBD4W4QP.js",
183
+ "sha256": "c57179b940e75e05febd59e3288ee906674f13fb53bdfb80ee01336a150fff8c"
184
184
  },
185
185
  {
186
- "path": "focused-chunks/chunk-DJPP2HAK.js.map",
187
- "sha256": "b39a57adf715cf4d3b1b879c604a5e5fb77f00dc21a70206c80a9dacb30a8244"
186
+ "path": "focused-chunks/chunk-DBD4W4QP.js.map",
187
+ "sha256": "7bb00786004b46832dce64481455781d5bd2f3634356803acdf5e0b2a17441b6"
188
188
  },
189
189
  {
190
- "path": "focused-chunks/chunk-EVMH4SKN.js",
191
- "sha256": "cfcccefb6cb77249cc6de88a7bfe768fed96ec0d838a3f2359d7c726cbac1532"
190
+ "path": "focused-chunks/chunk-E754JDLY.js",
191
+ "sha256": "80274b4a70e31198a3d5d875ddb7308b4d0d3271d5e37eda62ab830acb634f77"
192
192
  },
193
193
  {
194
- "path": "focused-chunks/chunk-EVMH4SKN.js.map",
195
- "sha256": "1f8226414288b36631c2e11132ced8869e79ae68a5932a18cab9b744b4e2478b"
194
+ "path": "focused-chunks/chunk-E754JDLY.js.map",
195
+ "sha256": "ec894b47a4c1d9535d7e7941b504545576d0eb0e3a843ebd91745ac5f082cd92"
196
196
  },
197
197
  {
198
- "path": "focused-chunks/chunk-HFAW3FJQ.js",
199
- "sha256": "fa55b173f8d973fb7d1f620fe913870b8eafc9489f3091a7c24a16794c4e46c5"
198
+ "path": "focused-chunks/chunk-EJN7DY3B.js",
199
+ "sha256": "5ab9d45bfcbb6ba730be0b34b09db4070ee61760302941e796c2d70ca3d434a0"
200
200
  },
201
201
  {
202
- "path": "focused-chunks/chunk-HFAW3FJQ.js.map",
203
- "sha256": "2536922ae21f29b6d28033a35d9aba3d921ee26867d733ba0a76857c97366cd9"
202
+ "path": "focused-chunks/chunk-EJN7DY3B.js.map",
203
+ "sha256": "183b0e1daafca0f7e68ed92c7579cc70b35bad651125b9723c62fb64d2217cc1"
204
204
  },
205
205
  {
206
- "path": "focused-chunks/chunk-IDB6E3ZV.js",
207
- "sha256": "4fbcb72c208f743543e3f67209659ade47b40cf312df68a43304ca1f069a65c7"
206
+ "path": "focused-chunks/chunk-FKK2HI3S.js",
207
+ "sha256": "03c6d1b1c2296d8b2864977f461929d73f361c1a56a8e4216164bf332dbdedea"
208
208
  },
209
209
  {
210
- "path": "focused-chunks/chunk-IDB6E3ZV.js.map",
211
- "sha256": "765770266bc5367913466ab252d4690a1d37163c02db45786411e62eab9e44d0"
210
+ "path": "focused-chunks/chunk-FKK2HI3S.js.map",
211
+ "sha256": "bb288fb1ddb4f79bb931b6f84e4a17997b6478effc660f5a935b962bf2dcebc6"
212
212
  },
213
213
  {
214
- "path": "focused-chunks/chunk-IQBFYQF2.js",
215
- "sha256": "09b63e1a672621531fca247edcc0fd0564aa72224e1922f17834baacec71cc54"
214
+ "path": "focused-chunks/chunk-GBD4EN6S.js",
215
+ "sha256": "1dd21bb4be58642fb9a86f90c17797d68762e8d4064db258ea6a039f00bee084"
216
216
  },
217
217
  {
218
- "path": "focused-chunks/chunk-IQBFYQF2.js.map",
219
- "sha256": "8ed302e41bcf65cdff950a07f71e9597aed614b0518fc8cfc60be61aa489baba"
218
+ "path": "focused-chunks/chunk-GBD4EN6S.js.map",
219
+ "sha256": "303c1fc754503903186f59e887f64ea137a3c3021cd16dbda8e535c9b3bfffc0"
220
220
  },
221
221
  {
222
- "path": "focused-chunks/chunk-MOUCTR72.js",
223
- "sha256": "ab817e7c1492579eb47849987c91f6730db0ec738d8b1764556a889596b0a5ae"
222
+ "path": "focused-chunks/chunk-GMYUNHST.js",
223
+ "sha256": "34d608bff4d6228d3cbe88f2bf6d64bee2685f48d635304b762565deffd9ae22"
224
224
  },
225
225
  {
226
- "path": "focused-chunks/chunk-MOUCTR72.js.map",
227
- "sha256": "b18ce126e128112da9d3e61c031b117dcf0c3f8740dd008785445992816e81ef"
226
+ "path": "focused-chunks/chunk-GMYUNHST.js.map",
227
+ "sha256": "ce8dbed80ece0d339d524a472a9802c69dae1a800c2c1d9ef462da9ab0fb2a0f"
228
228
  },
229
229
  {
230
- "path": "focused-chunks/chunk-OMBDUJWZ.js",
231
- "sha256": "d9f9956b2aa27eac82a616d68a0513a8741078c98c192e839cb6c78dcb9eff35"
230
+ "path": "focused-chunks/chunk-HFAW3FJQ.js",
231
+ "sha256": "fa55b173f8d973fb7d1f620fe913870b8eafc9489f3091a7c24a16794c4e46c5"
232
232
  },
233
233
  {
234
- "path": "focused-chunks/chunk-OMBDUJWZ.js.map",
235
- "sha256": "bb288fb1ddb4f79bb931b6f84e4a17997b6478effc660f5a935b962bf2dcebc6"
234
+ "path": "focused-chunks/chunk-HFAW3FJQ.js.map",
235
+ "sha256": "2536922ae21f29b6d28033a35d9aba3d921ee26867d733ba0a76857c97366cd9"
236
236
  },
237
237
  {
238
- "path": "focused-chunks/chunk-RIJQQOEZ.js",
239
- "sha256": "b3e9ff45ec89bb2a21d92e9d76c42ad6925c7cbe3f2a90bd6584a46edd1bf4ae"
238
+ "path": "focused-chunks/chunk-IR4UXLRP.js",
239
+ "sha256": "d496ea73cb48dfb4d5a0cceecb2453cb65da9e80cfbac90fdde2a923f2ae86c2"
240
240
  },
241
241
  {
242
- "path": "focused-chunks/chunk-RIJQQOEZ.js.map",
243
- "sha256": "d630bf56bd642198df70d31c5dda6fd3df81e66338e35d83c3b25084ab6f82de"
242
+ "path": "focused-chunks/chunk-IR4UXLRP.js.map",
243
+ "sha256": "1b83141b00d979bc3336abc5d48d3d9d680a91e009cb1f67ddf796bd67395390"
244
244
  },
245
245
  {
246
- "path": "focused-chunks/chunk-T4PZJQG4.js",
247
- "sha256": "65d357b746553019bc33a0694e1881bfe2df6a3c9d5bc61b99ad116b7823aed0"
246
+ "path": "focused-chunks/chunk-UTRSM3ZK.js",
247
+ "sha256": "1e5f5118a20d36bd6d06ce77cfed9a927cf4d380374ba26bbfd1461d771204b7"
248
248
  },
249
249
  {
250
- "path": "focused-chunks/chunk-T4PZJQG4.js.map",
251
- "sha256": "974f8e877cfa8adb7e05770e5573548ae5f041e06cdf871f34b1fa2f4e63fd3e"
250
+ "path": "focused-chunks/chunk-UTRSM3ZK.js.map",
251
+ "sha256": "d630bf56bd642198df70d31c5dda6fd3df81e66338e35d83c3b25084ab6f82de"
252
252
  },
253
253
  {
254
- "path": "focused-chunks/chunk-UPOMLSW7.js",
255
- "sha256": "f654f95e38c8a6ec879193bdfe4e5dd7b7378bbfc34e28ccb4190efd3c4a730e"
254
+ "path": "focused-chunks/chunk-VVWYI2X7.js",
255
+ "sha256": "9e5539789766f7ebcbd3e76a4e7a15f5b8ba4238b6209e7fd17a6f27104a39bd"
256
256
  },
257
257
  {
258
- "path": "focused-chunks/chunk-UPOMLSW7.js.map",
259
- "sha256": "8b71ec47da5fec8d245ff89113be6f9771d173e80c5cec27ce7388b0b555c8b8"
258
+ "path": "focused-chunks/chunk-VVWYI2X7.js.map",
259
+ "sha256": "1f8226414288b36631c2e11132ced8869e79ae68a5932a18cab9b744b4e2478b"
260
260
  },
261
261
  {
262
- "path": "focused-chunks/chunk-XB5Q2P7Z.js",
263
- "sha256": "864b1cc16c17e376c86531b18ba042d707a689acb044bfcab0efd46d6ff699d6"
262
+ "path": "focused-chunks/chunk-WCY6HRZO.js",
263
+ "sha256": "2c2ad9a97cdcedfb05381de3b3bdbbeb2eed179155f6c1292a19dd48f6d29f2e"
264
264
  },
265
265
  {
266
- "path": "focused-chunks/chunk-XB5Q2P7Z.js.map",
267
- "sha256": "944ef43a1f9304fe7b81e1ed27261f9e948579b6ca7b2c1854f2d92862b94937"
266
+ "path": "focused-chunks/chunk-WCY6HRZO.js.map",
267
+ "sha256": "9a03c8d82a26864a9a5c616838a580bbb864cce9bd987122986163dc37fb5444"
268
268
  },
269
269
  {
270
- "path": "focused-chunks/chunk-XUCXRZZZ.js",
271
- "sha256": "d195b83e7f4f66fac5a661f92174dbb628a34890b817ba23ee26189504aa0d78"
270
+ "path": "focused-chunks/chunk-XRSCIYHR.js",
271
+ "sha256": "b63ac499d657e9f551201b29526c62b5c5ec5f267626f0915b314a75fe114234"
272
272
  },
273
273
  {
274
- "path": "focused-chunks/chunk-XUCXRZZZ.js.map",
275
- "sha256": "7bb00786004b46832dce64481455781d5bd2f3634356803acdf5e0b2a17441b6"
274
+ "path": "focused-chunks/chunk-XRSCIYHR.js.map",
275
+ "sha256": "944ef43a1f9304fe7b81e1ed27261f9e948579b6ca7b2c1854f2d92862b94937"
276
276
  },
277
277
  {
278
- "path": "focused-chunks/chunk-YBQ27KG7.js",
279
- "sha256": "6672a7759cb208222e158b7ce7e2f4bce1cb71d64d4e0da9b1a66d659f9b2f39"
278
+ "path": "focused-chunks/chunk-YC32ZSLS.js",
279
+ "sha256": "151c589a615c131feac21f380824a50d1d84f812d9eef12aa5ef74df73baaab5"
280
280
  },
281
281
  {
282
- "path": "focused-chunks/chunk-YBQ27KG7.js.map",
283
- "sha256": "4a6503fb8d4e3e32c3c26cf7091bfe59f9caf626e20020db5466548d8f63c742"
282
+ "path": "focused-chunks/chunk-YC32ZSLS.js.map",
283
+ "sha256": "854fa7cb8d12ad6b0a8e307aebc5f895d696657c744c8bf1c2b9c36195af3c01"
284
284
  },
285
285
  {
286
- "path": "focused-chunks/chunk-ZJ3CLTV4.js",
287
- "sha256": "0dee228d4f5877fe1e676ee6a6a47754d88e25e5b011ff01308358bf825f527b"
286
+ "path": "focused-chunks/chunk-ZIXFMIUL.js",
287
+ "sha256": "04686263e698848d7524b04bb3279c4842fbe9afd6d100159ca425ee8e54b6bc"
288
288
  },
289
289
  {
290
- "path": "focused-chunks/chunk-ZJ3CLTV4.js.map",
291
- "sha256": "ce8dbed80ece0d339d524a472a9802c69dae1a800c2c1d9ef462da9ab0fb2a0f"
290
+ "path": "focused-chunks/chunk-ZIXFMIUL.js.map",
291
+ "sha256": "8ed302e41bcf65cdff950a07f71e9597aed614b0518fc8cfc60be61aa489baba"
292
292
  },
293
293
  {
294
294
  "path": "main.js",
295
- "sha256": "ccedf08b4dba28efa8dd647c9c77fc89be4936c2a2faf6e25eea54b56caecad6"
295
+ "sha256": "616080ed324c49a090247d0a67a47b9202843ed810c152b576d386a7160e3ab4"
296
296
  },
297
297
  {
298
298
  "path": "main.js.map",
299
- "sha256": "bc1fc7b68c9cf45e6e56a6d9eac60bb8b5a8ffa35bac372ff763a9a5b6315fd2"
299
+ "sha256": "27905d807c00fcf838c1ca6f2d623e7f62d3e7e527878fa91f53f2b462aa5496"
300
300
  },
301
301
  {
302
302
  "path": "sdk-authoring.js",
303
- "sha256": "fd02337259a6add1f4657d27f59f440ced9908e7e95aa0029a1ee41023e702cc"
303
+ "sha256": "043a5136ab427b4a5e6aae2982c93e4505c4101c9d5d330f791a4a905b59f81c"
304
304
  },
305
305
  {
306
306
  "path": "sdk-authoring.js.map",
@@ -308,23 +308,23 @@
308
308
  },
309
309
  {
310
310
  "path": "sdk-contracts.js",
311
- "sha256": "de0049214db7f4df6ff9b0ef90bd80df09af371589d20d18e5d0a7e69b6dca6c"
311
+ "sha256": "251d75ad263c590796dbb954e6ee777527abdb45879a7cdd27e801873093b272"
312
312
  },
313
313
  {
314
314
  "path": "sdk-contracts.js.map",
315
- "sha256": "5aaf39f9f9831d366d28ab6ac452f2792f516c5b6fcb89dcd1861a6b8a448a3c"
315
+ "sha256": "4af8073b4c47c98d1ce7557d678b74e7277bd358f7644798609a90eefb52dbd5"
316
316
  },
317
317
  {
318
318
  "path": "sdk-core.js",
319
- "sha256": "211abaa269c4b7e6d9f0e6f68153827d35a3d58db0fa221679c8480e8136ee1d"
319
+ "sha256": "4d27b1c90a3780df98a620f33d33876eb0f151f220d52dda435fc04786e484c0"
320
320
  },
321
321
  {
322
322
  "path": "sdk-core.js.map",
323
- "sha256": "f09ce2163bc1b9a4dce2a5c1053cbfa8fe74ec5f0ddbe0f3ccc421a38121a87c"
323
+ "sha256": "2064e129b1bf38d01bef43ecab388f05cf581bfc240b7047fa166ddf6e22d004"
324
324
  },
325
325
  {
326
326
  "path": "sdk-governance.js",
327
- "sha256": "2c7328eae25afd24650fd6048b42b96e1ee47ca2a080cc3534026f7eb8123f91"
327
+ "sha256": "cda314b406af258773715c3c31a5ee4c9d32cb3ff89e6b0e47c2d4451f6b7077"
328
328
  },
329
329
  {
330
330
  "path": "sdk-governance.js.map",
@@ -332,7 +332,7 @@
332
332
  },
333
333
  {
334
334
  "path": "sdk-graph.js",
335
- "sha256": "8ac00a6f753b5897a168c0d4dccfa89ace61c5ae40309760282386e62ce09a5d"
335
+ "sha256": "da4511e11de5947c808b12ed04f4122b5e239c0ad21df36a5defe50b14687d8c"
336
336
  },
337
337
  {
338
338
  "path": "sdk-graph.js.map",
@@ -340,15 +340,15 @@
340
340
  },
341
341
  {
342
342
  "path": "sdk-merge.js",
343
- "sha256": "4cd14983469db8cbb3a065aec3b03ea90c2a14af909d0cf55b7d427400163d7e"
343
+ "sha256": "c7ec3b9c04ea9c286e67d4280a1f2e48a9c49198a61c1beec2da44220d583ba1"
344
344
  },
345
345
  {
346
346
  "path": "sdk-merge.js.map",
347
- "sha256": "1522a09658ab4b0fb2e8bbfb68b510b77590ff6a6d6cfea340605c0e4fdf323d"
347
+ "sha256": "2907fa083728bd9538c7e3d086c320b2604f459508bd707f454105dbc9a61665"
348
348
  },
349
349
  {
350
350
  "path": "sdk-query.js",
351
- "sha256": "32697f93a90a8eacef94ec4facd738a851e69c471783b789d91e419ed8b69d91"
351
+ "sha256": "077d01b5c736424a045ffdc95b229f10da1972e83839c90726152c50868274ff"
352
352
  },
353
353
  {
354
354
  "path": "sdk-query.js.map",
@@ -356,7 +356,7 @@
356
356
  },
357
357
  {
358
358
  "path": "sdk-runtime.js",
359
- "sha256": "190aae591303c5e64dbb53dbe34fc58dd12a5b4d0bee752818d1b1d67018250e"
359
+ "sha256": "279e81b108b1b7e739057d19b3d6dedde2b2274b1a38cf9e21b5ec293624a906"
360
360
  },
361
361
  {
362
362
  "path": "sdk-runtime.js.map",
@@ -364,7 +364,7 @@
364
364
  },
365
365
  {
366
366
  "path": "sdk-testing.js",
367
- "sha256": "1bccbd9e11bd972454d8026be7a0d7763848ea0d2bd01cafd11d2cacf822ff7e"
367
+ "sha256": "fafc52d45c4e48c8e4e3cafc8dc22d4add8b89144cff881f9fc853b33222132f"
368
368
  },
369
369
  {
370
370
  "path": "sdk-testing.js.map",
@@ -372,11 +372,11 @@
372
372
  },
373
373
  {
374
374
  "path": "sdk.js",
375
- "sha256": "eb40fa5300080eb93863a03e751e1c4ac7ce49a08005e49fc9d9d1014084ab84"
375
+ "sha256": "cc79b0cffb056a93002562d0450a8493adfe6a44be9424c9c759ce34e1faa1f6"
376
376
  },
377
377
  {
378
378
  "path": "sdk.js.map",
379
- "sha256": "d315d9ab34f53bfb105cd153698249b69ab258f266d53a9022671748d8821911"
379
+ "sha256": "3ff8ca945d2b6ee3b1751bd8902f7c8a4e20db782961c6544cd2c3d645f6e13d"
380
380
  }
381
381
  ]
382
382
  }
@@ -1,3 +1,3 @@
1
- import{a as k,c as I,d as A,e as _,k as T,m as C}from"./chunk-JAVO3Z42.js";import{Db as b,Eb as v,Fb as R}from"./chunk-BNAT4EYR.js";import{Ec as E,Ff as D,Hj as x,If as m,Jf as y,Jo as f,Mo as g,No as a,ep as w,la as c,na as p,pl as H}from"./chunk-UIAH7UFK.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="631e56aa-4d7e-58b6-bbea-a0d320716b82")}catch{}})();(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="0bcdd63c-5fd3-585d-a6c5-9393029ef864")}catch{}})();(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="4dce4f19-071c-54a8-be0d-5975d9e3b34b")}catch{}})();(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="f330a0c5-a967-5383-9c27-efa4a39e0f0d")}catch{}})();(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="420952ed-9a04-55dd-bcb8-804d81582002")}catch{}})();function B(t,e){if(typeof t!="string")return;let o=Number.parseInt(t,10);if(!/^\d+$/.test(t.trim())||!Number.isSafeInteger(o))throw new p(`history-compact ${e} must be a non-negative integer.`,c.USAGE);return o}async function O(t,e,o){let r=f(o),n=Date.now(),i=await x(a(e,"ids")),l=i===void 0?void 0:H(i),d=B(e.allOver,"--all-over"),u=B(e.minEntries,"--min-entries");if(e.closed===!0&&e.allStreams===!0)throw new p("history-compact: --closed and --all-streams are mutually exclusive; pick one lifecycle scope.",c.USAGE);let s=e.closed===!0?"closed":e.allStreams===!0?"all-streams":void 0;if((l!==void 0||d!==void 0||s!==void 0)&&typeof e.before=="string")throw new p("history-compact: --before applies only in single-id mode (bulk mode always compacts full streams).",c.USAGE);if(I(t,{ids:l,allOver:d,scope:s}),t!==void 0&&u!==void 0)throw new p("history-compact: --min-entries applies only in bulk mode (single-id mode compacts the named stream).",c.USAGE);if(t===void 0){let h=await A({ids:l,scope:s,allOver:d,minEntries:u,dryRun:e.dryRun===!0,author:a(e,"author"),message:a(e,"message"),force:!!e.force},r);m(h,r),h.totals.items_errored>0&&(process.exitCode=c.GENERIC_FAILURE)}else{let h=await k(t,{before:a(e,"before"),dryRun:e.dryRun===!0,author:a(e,"author"),message:a(e,"message"),force:!!e.force},r);m(h,r)}r.profile&&y(`profile:command=history-compact took_ms=${Date.now()-n}`)}async function S(t,e,o,r){let n=f(r),i=Date.now(),l=await C(t,e,{author:a(o,"author"),message:a(o,"message"),force:!!o.force},n);await w(n,l),m(l,n),n.profile&&y(`profile:command=restore took_ms=${Date.now()-i}`)}async function N(t,e){let o=f(e),r=await T({verify:a(t,"verify"),output:a(t,"output"),hashAlgorithm:a(t,"hashAlgorithm")},o);"format"in r?(E(r),o.quiet||D(`${JSON.stringify(r,null,2)}
1
+ import{a as k,c as I,d as A,e as _,k as T,m as C}from"./chunk-R4TUD355.js";import{Db as b,Eb as v,Fb as R}from"./chunk-SV7CZEVV.js";import{Gc as E,Gn as H,Jf as D,Mf as m,Nf as y,Qo as f,To as g,Uo as a,Yl as x,lp as w,na as c,pa as p}from"./chunk-R7ULWMBG.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="631e56aa-4d7e-58b6-bbea-a0d320716b82")}catch{}})();(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="0bcdd63c-5fd3-585d-a6c5-9393029ef864")}catch{}})();(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="4dce4f19-071c-54a8-be0d-5975d9e3b34b")}catch{}})();(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="f330a0c5-a967-5383-9c27-efa4a39e0f0d")}catch{}})();(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="420952ed-9a04-55dd-bcb8-804d81582002")}catch{}})();function B(t,e){if(typeof t!="string")return;let o=Number.parseInt(t,10);if(!/^\d+$/.test(t.trim())||!Number.isSafeInteger(o))throw new p(`history-compact ${e} must be a non-negative integer.`,c.USAGE);return o}async function O(t,e,o){let r=f(o),n=Date.now(),i=await x(a(e,"ids")),l=i===void 0?void 0:H(i),d=B(e.allOver,"--all-over"),u=B(e.minEntries,"--min-entries");if(e.closed===!0&&e.allStreams===!0)throw new p("history-compact: --closed and --all-streams are mutually exclusive; pick one lifecycle scope.",c.USAGE);let s=e.closed===!0?"closed":e.allStreams===!0?"all-streams":void 0;if((l!==void 0||d!==void 0||s!==void 0)&&typeof e.before=="string")throw new p("history-compact: --before applies only in single-id mode (bulk mode always compacts full streams).",c.USAGE);if(I(t,{ids:l,allOver:d,scope:s}),t!==void 0&&u!==void 0)throw new p("history-compact: --min-entries applies only in bulk mode (single-id mode compacts the named stream).",c.USAGE);if(t===void 0){let h=await A({ids:l,scope:s,allOver:d,minEntries:u,dryRun:e.dryRun===!0,author:a(e,"author"),message:a(e,"message"),force:!!e.force},r);m(h,r),h.totals.items_errored>0&&(process.exitCode=c.GENERIC_FAILURE)}else{let h=await k(t,{before:a(e,"before"),dryRun:e.dryRun===!0,author:a(e,"author"),message:a(e,"message"),force:!!e.force},r);m(h,r)}r.profile&&y(`profile:command=history-compact took_ms=${Date.now()-n}`)}async function S(t,e,o,r){let n=f(r),i=Date.now(),l=await C(t,e,{author:a(o,"author"),message:a(o,"message"),force:!!o.force},n);await w(n,l),m(l,n),n.profile&&y(`profile:command=restore took_ms=${Date.now()-i}`)}async function N(t,e){let o=f(e),r=await T({verify:a(t,"verify"),output:a(t,"output"),hashAlgorithm:a(t,"hashAlgorithm")},o);"format"in r?(E(r),o.quiet||D(`${JSON.stringify(r,null,2)}
2
2
  `)):m(r,o),"ok"in r&&!r.ok&&(process.exitCode=c.GENERIC_FAILURE)}function ee(t,e){t.command(e?"attest":"history-attest",{hidden:!e}).summary("Export or verify history proof.").option("--verify <file>","Compare retained streams with a detached JSON proof").option("--output <file>","Create a proof file and return a compact receipt").option("--hash-algorithm <name>","Bundle digest algorithm: sha256 (default) or sha512").description("Export exact-byte history commitments, or verify an independently retained proof without tracker writes.").action(N),t.command("restore",{hidden:!e}).summary("Restore a version.").argument("<id>","Item id").argument("<target>","Restore target timestamp or version number").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership/lock override").description("Restore an item to an earlier timestamp or version.").action(S),t.command(e?"redact":"history-redact",{hidden:!e}).summary("Redact sensitive values.").argument("<id>","Item id").option("--literal <value>","Literal string to redact (repeatable)",g).option("--regex <value>","Regex pattern to redact (repeatable; accepts /pattern/flags or raw pattern)",g).option("--replacement <value>",'Replacement string (default: "[redacted]")').option("--dry-run","Preview redaction impact without writing item/history files").option("--author <value>","Mutation author").option("--message <value>","Audit history message for the redaction marker entry").option("--force","Force ownership/lock override").description("Redact sensitive literals/patterns from an item history stream and recompute hashes.").action(async(o,r,n)=>{let i=f(n),l=Date.now(),d=Array.isArray(r.literal)?r.literal:void 0,u=Array.isArray(r.regex)?r.regex:void 0,s=await _(o,{literal:d,regex:u,replacement:a(r,"replacement"),dryRun:r.dryRun===!0,author:a(r,"author"),message:a(r,"message"),force:!!r.force},i);s.changed&&!s.dry_run&&await w(i,s),m(s,i),i.profile&&y(`profile:command=history-redact took_ms=${Date.now()-l}`)}),t.command(e?"repair":"history-repair",{hidden:!e}).summary("Repair drift.").argument("[id]","Item id (omit with --all)").option("--salvage-tail","Recover invalid tail; requires verified prefix").option("--all","Scan every stream for drift and repair each drifted stream in one audited pass").option("--dry-run","Preview the re-anchor impact without writing the history file").option("--normalize-provenance","Remove invalid provenance; return aggregate-only evidence").option("--author <value>","Mutation author").option("--message <value>","Audit history message for the repair marker entry").option("--force","Force ownership/lock override").description("Re-anchor a drifted item history chain (recompute hashes, reconcile with the on-disk item) and record an audit marker. Use --all to repair every drifted stream.").action(async(o,r,n)=>{let i=f(n),l=Date.now(),d=r.all===!0;v(o,d);let u={dryRun:r.dryRun===!0,author:a(r,"author"),message:a(r,"message"),force:!!r.force,normalizeProvenance:r.normalizeProvenance===!0,salvageTail:r.salvageTail===!0};if(d){let s=await R(u,i);m(s,i),s.totals.failed>0&&(process.exitCode=c.GENERIC_FAILURE)}else{let s=await b(o,u,i);m(s,i)}i.profile&&y(`profile:command=history-repair took_ms=${Date.now()-l}`)}),t.command(e?"compact":"history-compact",{hidden:!e}).summary("Compact streams.").argument("[id]","Item id (omit when using a bulk selector)").option("--before <value>","Compact entries strictly before this version number or ISO timestamp (single-id mode only)").option("--ids <value>","Bulk IDs: comma/newline text, - stdin, or @path file").option("--all-over <n>","Bulk: compact every stream with more than N entries").option("--closed","Bulk: compact only closed (terminal) items' streams").option("--all-streams","Bulk: compact every history stream regardless of lifecycle state").option("--min-entries <n>","Bulk: skip streams with at most N entries (already compact; default 3)").option("--dry-run","Preview compaction impact without writing the history file").option("--author <value>","Mutation author").option("--message <value>","Audit history message for the compaction marker entry").option("--force","Force ownership/lock override").description("Compact item history streams into a synthetic baseline plus retained tail entries. Pass an item id for one stream, or a bulk selector (--ids/--all-over/--closed/--all-streams) to compact many.").action(O)}export{ee as a};
3
- //# sourceMappingURL=chunk-SCZMJ5DC.js.map
3
+ //# sourceMappingURL=chunk-7FUEQOYG.js.map
@@ -0,0 +1,2 @@
1
+ import{$c as _,Jf as $,Wc as w,Xc as S,Yc as L,Zc as A,_c as b,cd as M,cf as F,df as D,dh as B,eh as v,g as P,gl as y,h as m,hf as V,j as E,k as N,na as p,pa as h,vb as I}from"./chunk-R7ULWMBG.js";import{Command as Q}from"commander";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="59132bc6-2d45-5049-981f-fadcf0c75091")}catch{}})();function Ge(e){return new Q().name("pm").description("Universal, flexible, extensible, agent-optimized project management CLI for any project or programming language.").version(e).showHelpAfterError(!1).allowExcessArguments(!1).allowUnknownOption(!1).configureOutput({writeOut:t=>{$(t)},writeErr:()=>{}}).option("--json","Output JSON instead of TOON; mutations emit a flat receipt with top-level id/status/changed_field_count while reads use documented entity or collection envelopes").option("--lean","Omit null and empty containers from JSON output").option("--token-accounting","Attach a bounded per-section token-cost receipt to command output").option("--output-include <fields>","Retain comma-separated fields or sections in read output").option("--output-limit <count>","Bound rows in read output").option("--output-budget <tokens|unbounded>","Bound estimated tokens in read output or explicitly disable the default ceiling").option("--output-format <toon|json>","Select the result encoding for reads and mutations").option("--output-session <state>","Carry a JSON session budget and served-item ledger across read calls").option("--output-cursor <cursor>","Resume a budget-compacted declared row collection").option("--output-row-contract","Include row selectors, encoding metadata, and read-output receipts").option("--quiet","Suppress stdout output").option("--no-changed-fields","Omit the changed_fields array from mutation output (keeps changed_field_count)").option("--full-changed-fields","Restore the legacy full mutation envelope and changed_fields array").option("--id-only","Print only id and status for single-item mutation output").option("--pm-path <dir>","Explicit tracker storage path for this command (preferred over --path)").option("--path <dir>","Backward-compatible alias for --pm-path; this is the tracker storage path, not a workspace cwd").option("--no-extensions","Disable extension loading").option("--no-pager","Disable pager integration for help and long output").option("--explain","Render extended rationale and examples in help output").option("--all","Reveal every public command and compatibility alias").option("--profile","Print deterministic timing diagnostics").option("--author <id>","Override mutation author for this invocation").exitOverride()}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bdf3dec8-63d1-5ea6-a413-64be0ae8f69f")}catch{}})();function je(e){return e instanceof h||e instanceof Error?e.message:"Unknown failure"}function ee(e){if(typeof e!="object"||e===null||!("exitCode"in e))return;let t=e.exitCode;return typeof t=="number"&&Number.isFinite(t)?t:void 0}function te(e){let t=Math.trunc(e);return t>p.SUCCESS?t:p.GENERIC_FAILURE}function Ke(e){return typeof e=="object"&&e!==null&&"code"in e&&typeof e.code=="string"&&e.code.startsWith("commander.")}function Ye(e,t){if(e instanceof Error)return e;let n=new Error(t),o=ee(e);return o!==void 0&&(n.exitCode=te(o)),n}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e1db7644-e481-5049-a773-fcffa09f1779")}catch{}})();var R=new Set(["append","claim","close","close-task","comments","copy","delete","deps","docs","files","focus","get","history","history-compact","history-redact","history-repair","learnings","notes","pause-task","release","restore","start-task","test","update"]),z=new Map([["files","discover"],["item","complete"]]),ne=new Map([["append",1],["close",1],["close-task",1],["comments",1],["item complete",1],["learnings",1],["notes",1],["restore",1]]);function G(e){let t=m(e?.trim().toLowerCase()??"");return R.has(t)||z.has(t)}function oe(e,t,n){let o=R.has(n)?t+1:void 0,i=b(e.slice(t+1));if(i===void 0)return o;let s=t+1+i,a=`${n} ${e[s]}`,r=m(a);return r===a?n==="item"&&e[s]==="complete"?s+1:o:G(r)?O(e,s,r):void 0}function O(e,t,n){if(["history","context","ctx","update","close","item"].includes(n))return oe(e,t,n);let o=z.get(n);if(o===void 0)return t+1;let i=e[t+1]?.toLowerCase()===o;return t+(i?2:1)}function ie(e){let t=new Map;for(let n of y(e))for(let o of[n.flag,n.short,...n.aliases??[]])o&&t.set(o,n);return t}function se(e){let t=[];for(let n=0;n<e.length;n+=1){let o=e[n];if(o==="--")break;o==="--id"?(t.push({index:n,consumed:2,value:e[n+1]}),n+=1):o.startsWith("--id=")&&t.push({index:n,consumed:1,value:o.slice(5)})}return t}function re(e,t,n){if(e.indexOf("=")>=0||t===void 0||t.startsWith("-"))return!1;let i=n.get(e);return i!==void 0&&i.value_type!=="boolean"}function ae(e,t,n,o,i){let s=0;for(let a=t;a<e.length;a+=1){let r=e[a];if(r==="--")break;if(r==="--id"){a+=1;continue}if(!r.startsWith("--id=")){if(!r.startsWith("-")){if(a<o)return!0;s+=1;continue}re(r,e[a+1],i)&&(a+=1)}}return s>(ne.get(m(n))??0)}function W(e){let t=b(e),n=t===void 0?void 0:e[t]?.toLowerCase();if(n!=="context"&&n!=="ctx"&&!G(n))return{argv:[...e],changed:!1,conflict:!1};let o=O(e,t,n);if(o===void 0)return{argv:[...e],changed:!1,conflict:!1};let i=o>t+1?`${m(e.slice(t,o-1).join(" "))} ${e[o-1]}`:n,s=ie(i),a=se(e),r=a[0];if(!r||!r.value?.trim())return{argv:[...e],changed:!1,conflict:!1};if(a.length>1||ae(e,o,i,r.index,s))return{argv:[...e],changed:!1,conflict:!0,itemId:r.value};let c=[...e.slice(0,r.index),...e.slice(r.index+r.consumed)],l=b(c),u=O(c,l,n);return c.splice(u,0,r.value),{argv:c,changed:!0,conflict:!1,itemId:r.value}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8ef3b254-0494-57bc-8bbf-8ee58eb7d152")}catch{}})();var ce=new Set(["--output-include","--output-limit","--output-budget","--output-format","--output-session","--output-cursor"]);function le(e,t,n){let o=e[t];if(S.has(o))return n.booleanFlags.add(o),1;let i=o.indexOf("="),s=i>0?o.slice(0,i):o;if(!w.has(s))return 1;let a=i>0?o.slice(i+1):void 0,r=a===void 0&&A(s,e[t+1]),c=a??(r?e[t+1]:void 0);return s==="--author"?n.author=c??"":typeof c=="string"&&c.length>0&&(ce.has(s)?n.outputValues:n.pathValues).set(s,c),r?2:1}function ue(e){let t={booleanFlags:new Set,outputValues:new Map,pathValues:new Map},n=0;for(;n<e.length&&e[n]!=="--";)n+=le(e,n,t);return{path:t.pathValues.get("--pm-path")??t.pathValues.get("--path"),noExtensions:t.booleanFlags.has("--no-extensions")||["history attest","history-attest"].includes(X(e)??""),noPager:t.booleanFlags.has("--no-pager"),json:t.booleanFlags.has("--json"),quiet:t.booleanFlags.has("--quiet"),lean:t.booleanFlags.has("--lean"),tokenAccounting:t.booleanFlags.has("--token-accounting"),...t.booleanFlags.has("--output-row-contract")?{outputRowContract:!0}:{},...t.outputValues.get("--output-include")===void 0?{}:{outputInclude:t.outputValues.get("--output-include")},...t.outputValues.get("--output-limit")===void 0?{}:{outputLimit:t.outputValues.get("--output-limit")},...t.outputValues.get("--output-budget")===void 0?{}:{outputBudget:t.outputValues.get("--output-budget")},...t.outputValues.get("--output-format")==="toon"||t.outputValues.get("--output-format")==="json"?{outputFormat:t.outputValues.get("--output-format")}:{},...t.outputValues.get("--output-session")===void 0?{}:{outputSession:t.outputValues.get("--output-session")},...t.outputValues.get("--output-cursor")===void 0?{}:{outputCursor:t.outputValues.get("--output-cursor")},...t.author===""?{authorMissingValue:!0}:t.author!==void 0?{author:t.author}:{}}}function j(e){let t=[],n=0;for(;n<e.length;){let o=e[n];if(o==="--")break;if(S.has(o)||o==="--profile"||o==="--id-only"||o==="--full-changed-fields"||o==="--explain"){n+=1;continue}if(w.has(o)){n+=A(o,e[n+1])?2:1;continue}if(L(o)){n+=1;continue}t.push(o),n+=1}return t}function de(e){let t=j(e);if(t[0]?.trim().toLowerCase()==="help"){let s=[];for(let a=1;a<t.length;a+=1){let r=t[a];if(r.startsWith("-"))break;s.push(r.trim().toLowerCase())}return{requested:!0,commandPathTokens:s}}if(t.findIndex(s=>s==="--help"||s==="-h")<0)return{requested:!1,commandPathTokens:[]};let i=[];for(let s of t){if(s.startsWith("-"))break;i.push(s.trim().toLowerCase())}return{requested:!0,commandPathTokens:i}}function C(e){return b(e)}function fe(e){return _(e)}function pe(e,t){return t.noPager?!0:process.stdout.isTTY===!0?!1:de(e).requested}function ut(e){let t=["PAGER","MANPAGER","GIT_PAGER","LESS"],n=t.map(s=>process.env[s]),o=()=>{for(let[s,a]of t.entries()){let r=n[s];r===void 0?delete process.env[a]:process.env[a]=r}},i=ue(e);return pe(e,i)&&(process.env.PAGER="cat",process.env.MANPAGER="cat",process.env.GIT_PAGER="cat",(typeof process.env.LESS!="string"||process.env.LESS.trim().length===0)&&(process.env.LESS="FRX")),o}var me=new Set(["install","uninstall","explore","manage","doctor","adopt","adopt-all","activate","deactivate"]);function he(e){let t=C(e);if(t===void 0||e[t]!=="extension")return[...e];let n=e[t+1];if(!n||n.startsWith("-"))return[...e];if(!me.has(n))return[...e];if(e.includes("--help")||e.includes("-h"))return[...e];let o=`--${n}`;return e.includes(o)?[...e]:[...e.slice(0,t+1),o,...e.slice(t+2)]}var ge=new Set(["pm","pm-cli"]);function be(e,t){let n=C(e);if(n===void 0)return e;let o=e[n];return ge.has(o.trim().toLowerCase())?(t.push({from:o,to:[],reason:"executable_alias",confidence:"high"}),[...e.slice(0,n),...e.slice(n+1)]):e}function ye(e,t){let n=C(e);if(n!==void 0&&e[n]==="help"){let r=C(e.slice(n+1));n=r===void 0?void 0:n+1+r}if(n===void 0)return e;let o=e[n],i=N[o.trim().toLowerCase()];if(!i)return e;let s=i.split(" "),a=[...e.slice(0,n),...s,...e.slice(n+1)];return t.push({from:o,to:s,reason:"command_alias",confidence:"high"}),a}function k(e){return e.replace(/^--?/,"").replace(/_/g,"-").replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function U(e){return k(e).replace(/-/g,"")}function q(e,t,n){let o=e.get(t);if(o===void 0){e.set(t,n);return}o!==n&&e.set(t,null)}function we(e){let t=[],n=o=>{typeof o=="string"&&o.startsWith("--")&&t.push(o)};n(e.flag);for(let o of e.aliases??[])n(o);return t}function Ie(e,t){let n=t??y(e),o=new Map,i=new Map,s=new Map,a=new Set;for(let r of n){let c=we(r);if(c.length===0)continue;let l=`--${k(c[0])}`;for(let d of c)q(o,k(d),l),q(i,U(d),l);let u=U(l);s.has(l)||s.set(l,u),r.list===!0&&a.add(l)}return{canonicalByNormalized:o,canonicalByCompact:i,canonicalComparables:[...s.entries()].map(([r,c])=>({canonicalFlag:r,comparable:c})),listCanonicalFlags:a}}function K(e,t){let n=k(e),o=t.canonicalByNormalized.get(n);if(typeof o=="string")return{flag:o,reason:"flag_alias",confidence:"high"};let i=n.replace(/-/g,""),s=t.canonicalByCompact.get(i);if(typeof s=="string")return{flag:s,reason:"flag_alias",confidence:"high"};let a=i.length>=8?2:1,r=Number.POSITIVE_INFINITY,c,l=!1;for(let u of t.canonicalComparables){let d=I(i,u.comparable,a);if(d!==null){if(d<r){r=d,c=u.canonicalFlag,l=!1;continue}d===r&&c!==u.canonicalFlag&&(l=!0)}}return!c||l||!Number.isFinite(r)||r<=0?null:{flag:c,reason:"flag_typo",confidence:r>=2?"medium":"high"}}function dt(e){let t=[`${e}s`];return e.endsWith("y")&&e.length>1&&t.push(`${e.slice(0,-1)}ies`),t}function _e(e,t=!1){if(t||e.includes("://"))return null;let n=e.match(/^([A-Za-z][A-Za-z0-9_-]{1,63})([:=])(.*)$/);if(!n)return null;let o=n[1],i=n[3];return i.length===0?null:{key:o,value:i}}function ve(e,t,n=!1){if(n||!e.startsWith("--"))return{tokens:[e]};let o=e.indexOf("="),i=o>=0?e.slice(0,o):e,s=o>=0?e.slice(o+1):void 0,a=K(i,t);if(!a)return{tokens:[e]};let r=s===void 0?a.flag:`${a.flag}=${s}`;return r===e?{tokens:[e]}:{tokens:[r],event:{from:e,to:[r],reason:a.reason,confidence:a.confidence}}}function Ce(e){let t=new Set,n=!1;for(let o=0;o<e.length;o+=1){if(n){t.add(o),n=!1;continue}let i=e[o];n=i==="--path"||i==="--pm-path"}return t}function ke(e){if(!e.startsWith("--"))return null;let t=e.indexOf("=");return t<0?{flag:e}:{flag:e.slice(0,t),inlineValue:e.slice(t+1)}}function xe(e,t,n){n.push(e[t]);let o=e[t+1];return typeof o=="string"&&o!=="--"?(n.push(o),t+2):t+1}function Te(e,t,n,o){if(n.inlineValue!==void 0)return{originalTokens:[e[t]],value:n.inlineValue,consumed:1};let i=[],s=t+1;for(;s<e.length&&e[s]!=="--"&&!e[s].startsWith("-")&&(i.length===0||o.has(n.flag));)i.push(e[s]),s+=1;let a=i.length===0?1:1+i.length;return{originalTokens:e.slice(t,t+a),value:i.length===0?void 0:i.join(","),consumed:a}}function Ee(e,t,n,o){let i=e.get(n);if(i){i.values.push(o.value),i.occurrences+=1;return}e.set(n,{outputIndex:t.length,originalTokens:o.originalTokens,values:[o.value],occurrences:1}),t.push(null)}function Se(e,t){let n=[],o=[];for(let[i,s]of e){if(!(s.occurrences>=2||t.has(i)&&s.originalTokens.length>2)){o.push({outputIndex:s.outputIndex,tokens:s.originalTokens});continue}let r=`${i}=${s.values.join(",")}`;o.push({outputIndex:s.outputIndex,tokens:[r]}),n.push({from:`${i} (x${s.occurrences})`,to:[r],reason:"list_merge",confidence:"high"})}return{events:n,splices:o}}function Ae(e,t){t.sort((n,o)=>o.outputIndex-n.outputIndex);for(let n of t)e.splice(n.outputIndex,1,...n.tokens)}function Oe(e,t,n=new Set,o=new Set){if(t.size===0)return{argv:[...e],events:[]};let i=[],s=new Map,a=0;for(;a<e.length;){let l=e[a];if(l==="--"){i.push(...e.slice(a));break}if(n.has(l)){a=xe(e,a,i);continue}let u=ke(l);if(!u||!t.has(u.flag)){i.push(l),a+=1;continue}let d=Te(e,a,u,o);if(d.value===void 0){i.push(l),a+=d.consumed;continue}Ee(s,i,u.flag,{originalTokens:d.originalTokens,value:d.value}),a+=d.consumed}let{events:r,splices:c}=Se(s,o);return Ae(i,c),{argv:i,events:r}}var Y=new Map([["--add",new Set(["command","cmd","path"])],["--remove",new Set(["command","path"])]]);function Pe(e,t){if(e!=="test"||t.length<2)return!1;let n=t[t.length-1],o=t[t.length-2],i=Y.get(o);return i!==void 0&&i.has(n)}function Ne(e,t){return e==="search"||Pe(e,t)}function Le(e,t,n){if(t!=="test")return e;let o=[],i=0;for(;i<e.length;){let s=e[i];if(s==="--")return o.push(...e.slice(i)),o;let a=Y.get(s),r=a?e[i+1]:void 0;if(!a||typeof r!="string"||!a.has(r)){o.push(s),i+=1;continue}let c=i+2;for(;c<e.length&&!e[c].startsWith("-");)c+=1;if(c-(i+2)!==1){o.push(s),i+=1;continue}let l=e[i+2],u=`${r}=${l}`;o.push(s,u),n.push({from:`${s} ${r} ${l}`,to:[s,u],reason:"bare_key_value",confidence:"high"}),i+=3}return o}function Me(e,t,n,o){let i=[],s=Ce(e);for(let a=0;a<e.length;a+=1){let r=e[a];if(r==="--"){i.push(...e.slice(a));break}let c=s.has(a),l=i[i.length-1];if(r.startsWith("--")){let d=ve(r,t,c);i.push(...d.tokens),d.event&&o.push(d.event);continue}let u=_e(r,c);if(u&&!(typeof l=="string"&&l.startsWith("-"))&&!Ne(n,i)){let d=K(u.key,t);if(d){let g=[d.flag,u.value];i.push(...g),o.push({from:r,to:g,reason:"bare_key_value",confidence:d.confidence});continue}}i.push(r)}return i}function Fe(e){for(let t=0;t<e.length;t+=1){let n=e[t];if(n==="--")break;if(n==="--verify"){let o=e[t+1];if(o===void 0||o==="--")throw new h("history attest --verify requires a bundle file.",p.USAGE);e.splice(t,2,`--verify=${o}`)}else(w.has(n)||n==="--output"||n==="--hash-algorithm")&&(t+=1)}}function ft(e){let t=[],n=be(e,t),o=he(n);(o.length!==n.length||o.some((T,J)=>T!==n[J]))&&t.push({from:n.join(" "),to:[...o],reason:"legacy_extension_action",confidence:"high"});let i=ye(o,t),s=W(i);if(s.conflict)throw new h("Provide the item id either positionally or with --id, not both.",p.USAGE);s.changed&&t.push({from:`--id ${s.itemId}`,to:[s.itemId],reason:"item_id_alias",confidence:"high"});let a=fe(s.argv),r=X(s.argv),c=m(r??a??""),l=Ie(r??a),u=Me(s.argv,l,c,t),d=Le(u,c,t),g=Oe(d,l.listCanonicalFlags,w,a==="create"?new Set(["--tags"]):new Set);for(let T of g.events)t.push(T);return r==="history attest"&&Fe(g.argv),{argv:g.argv,commandName:a,trace:t}}function X(e){let t=j(e),n=t[0]?.trim().toLowerCase(),o=t[1]?.trim().toLowerCase(),i=P(t);return i?i.canonical:(n==="extension"||n==="package"||n==="packages")&&typeof o=="string"&&o.length>0&&!o.startsWith("-")?`${n} ${o}`:n}function pt(e){for(let t=0;t<e.length;t+=1){let n=e[t];if(n==="--")break;if(n==="--type"){let o=e[t+1];if(typeof o=="string"&&o.trim().length>0)return o.trim();continue}if(n.startsWith("--type=")){let o=n.slice(7).trim();if(o.length>0)return o}}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d22b586a-5c12-518e-b1ee-4baa0d04243b")}catch{}})();function yt(e){if(e===void 0)return()=>{};let t=e.trim();if(t.length===0)throw new h("--author requires a non-empty value.",p.USAGE,{code:"missing_required_argument",nextSteps:["Pass an explicit author identifier with --author <id>."]});let n=B();v(t);let o=!1;return()=>{o||(o=!0,n===void 0?v(void 0):v(n))}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="69117358-9878-589b-8918-e71599e6c7df")}catch{}})();var f=Object.freeze({clock:"PM_CLOCK",tickMs:"PM_CLOCK_TICK_MS",seed:"PM_SEED"});function x(e,t,n,o){return new h(e,p.USAGE,{code:"invalid_reproducible_process_environment",reason:t,field:n,required:`${f.clock} and ${f.seed}; ${f.tickMs} is optional`,nextSteps:[`Set ${f.clock} to an ISO-8601 instant with Z or a numeric UTC offset and ${f.seed} to a non-empty reproducibility seed.`,`Optionally set ${f.tickMs} to a non-negative integer; it defaults to 1.`,"Unset all three variables to retain normal wall-clock and cryptographic-random behavior."],recovery:{recovery_mode:"compact",provided_fields:o,missing_required_fields:t==="incomplete"?[f.clock,f.seed].filter(i=>!o.includes(i)):void 0}})}function De(e){let t=e[f.clock],n=e[f.tickMs],o=e[f.seed],i=[[f.clock,t],[f.tickMs,n],[f.seed,o]].filter(a=>a[1]!==void 0).map(([a])=>a);if(i.length===0)return;if(t===void 0||o===void 0)throw x("Reproducible process execution requires PM_CLOCK and PM_SEED together.","incomplete",t===void 0?f.clock:f.seed,i);if(o.trim().length===0)throw x(`${f.seed} must not be empty.`,"invalid_value",f.seed,i);if(!V(t))throw x(`${f.clock} must be a valid ISO-8601 instant with Z or a numeric UTC offset.`,"invalid_value",f.clock,i);let s=n===void 0?1:Number(n);if(n?.trim().length===0||!Number.isSafeInteger(s)||s<0)throw x(`${f.tickMs} must be a non-negative integer.`,"invalid_value",f.tickMs,i);return F({clock:t,seed:o,tickMs:s})}function Ve(e){let t=De(e);return t===void 0?n=>n():D(t)}async function kt(e,t){return Ve(e)(t)}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4f7274c6-547e-5590-b7c9-a4d6418bf860")}catch{}})();function Z(e){return e.trim().match(/--[a-z0-9][a-z0-9_-]*/i)?.[0]?.replaceAll("_","-").toLowerCase()}function At(e){if(!(!Array.isArray(e)||e.length===0))return _(e)}function $e(e,t){let n=Z(t);if(!n)return;let o=y(e).find(i=>i.flag===n||i.aliases?.includes(n));return o?o.value_type==="boolean"?null:`<${o.value_name??"value"}>`:"<value>"}function Ot(e,t,n){let o=[...e],i=o.indexOf("--"),s=i<0?o.length:i;for(let a of n){let r=Z(a);if(!r||o.slice(0,s).some(u=>u===r||u.startsWith(`${r}=`)))continue;let c=$e(t,r),l=c?[r,c]:[r];o.splice(s,0,...l),s+=l.length}return o.length===e.length?void 0:M(o)}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bd9a8d3b-bc6f-5309-a3fb-7e5f41ef9dab")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="925e5fec-4cc0-5315-a331-03cb128893f0")}catch{}})();var Be={add:["create","append"],fetch:["get"],inspect:["get","health"],log:["history","comments","notes"],ls:["list"],pause:["release"],read:["get"],remove:["delete"],rm:["delete"],show:["get"],start:["start-task"]};function H(e,t){let n=e.trim().toLowerCase(),o=t.trim().toLowerCase();if(o.length===0)return Number.POSITIVE_INFINITY;let i=n.split(" "),s=Be[o]?.indexOf(m(n));if(s!==void 0&&s>=0)return s;if(n===o)return 10;if(i.includes(o))return 11;if(i.some(c=>c.startsWith(o)))return 12;let a=o.length>=5?2:1,r=Number.POSITIVE_INFINITY;for(let c of i){let l=I(c,o,a);l!==null&&(r=Math.min(r,l))}return Number.isFinite(r)?20+r:n.includes(o)?30:Number.POSITIVE_INFINITY}function Vt(e,t){return e.map(n=>({path:n,score:H(n,t)})).filter(n=>Number.isFinite(n.score)).sort((n,o)=>n.score!==o.score?n.score-o.score:n.path===o.path?0:n.path<o.path?-1:1).map(n=>n.path)}function $t(e,t,n){let o=new Set(t),i=E.filter(r=>r.lifecycle==="deprecated").slice().sort((r,c)=>c.alias.length-r.alias.length),s=[],a=e.flatMap(r=>{let c=i.find(u=>r===u.alias||r.startsWith(`${u.alias} `)),l=r;if(c){let u=r.slice(c.alias.length);if(!o.has(`${c.canonical}${u}`))return[];l=`${c.canonical_argv.join(" ")}${u}`}return n!==void 0&&H(r,n)<10&&s.push(l),[l]});return[...new Set(s.length>0?s:a)]}export{Ge as a,je as b,ee as c,te as d,Ke as e,Ye as f,G as g,W as h,ue as i,j,de as k,C as l,fe as m,ut as n,he as o,dt as p,Oe as q,Le as r,ft as s,pt as t,yt as u,f as v,De as w,Ve as x,kt as y,At as z,$e as A,Ot as B,H as C,Vt as D,$t as E};
2
+ //# sourceMappingURL=chunk-7NL3A2BY.js.map