@unbrained/pm-cli 2026.10.17 → 2026.10.18

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 (188) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +25 -0
  3. package/dist/cli/register-list-query.js +2 -2
  4. package/dist/cli-bundle/bundle-manifest.json +1 -1
  5. package/dist/cli-bundle/chunks/{chunk-3QKI3XNX.js → chunk-4GA4MUTE.js} +2 -2
  6. package/dist/cli-bundle/chunks/{chunk-X2ONXFBP.js → chunk-4V6ONLI6.js} +2 -2
  7. package/dist/cli-bundle/chunks/{chunk-B5QVGCZX.js → chunk-6VZKYJW7.js} +2 -2
  8. package/dist/cli-bundle/chunks/chunk-7PATQWTH.js +20 -0
  9. package/dist/cli-bundle/chunks/{chunk-W3KZ22DW.js → chunk-7WIEAGDS.js} +2 -2
  10. package/dist/cli-bundle/chunks/{chunk-EA2CG7UM.js → chunk-AETP4JEM.js} +2 -2
  11. package/dist/cli-bundle/chunks/{chunk-6ZDKKOKM.js → chunk-FIJOSX2C.js} +2 -2
  12. package/dist/cli-bundle/chunks/{chunk-VMCSTFSO.js → chunk-LUKVNL72.js} +2 -2
  13. package/dist/cli-bundle/chunks/{chunk-J4LPQCET.js → chunk-OJ77ZQN3.js} +2 -2
  14. package/dist/cli-bundle/chunks/{chunk-O4YBC3OM.js → chunk-PYRREEUB.js} +30 -30
  15. package/dist/cli-bundle/chunks/chunk-RHQJ6VWC.js +237 -0
  16. package/dist/cli-bundle/chunks/{chunk-OZCSXX4D.js → chunk-RNABUEFB.js} +2 -2
  17. package/dist/cli-bundle/chunks/{chunk-HY7FQ7QX.js → chunk-TO6CIV4C.js} +2 -2
  18. package/dist/cli-bundle/chunks/{chunk-JS3B2M4D.js → chunk-ZZED447K.js} +2 -2
  19. package/dist/cli-bundle/chunks/{register-list-query-RU3QZSAQ.js → register-list-query-PUCVYYBD.js} +7 -7
  20. package/dist/cli-bundle/chunks/{register-mutation-EQYMT32A.js → register-mutation-GGGVBXD5.js} +2 -2
  21. package/dist/cli-bundle/chunks/{register-operations-VXBGE4XI.js → register-operations-NRZ6Q4QE.js} +2 -2
  22. package/dist/cli-bundle/chunks/{register-setup-UUDEGFRO.js → register-setup-MV3P3YSF.js} +2 -2
  23. package/dist/cli-bundle/focused-chunks/{chunk-LDKX4KYJ.js → chunk-2MPQUMTF.js} +2 -2
  24. package/dist/cli-bundle/focused-chunks/{chunk-MBQF6HT6.js → chunk-5UKCSZWT.js} +2 -2
  25. package/dist/cli-bundle/focused-chunks/{chunk-FTUZ3JF2.js → chunk-A4ZHHTEX.js} +2 -2
  26. package/dist/cli-bundle/focused-chunks/{chunk-JXR6UKFM.js → chunk-B4YLP5ZB.js} +2 -2
  27. package/dist/cli-bundle/focused-chunks/{chunk-NZO7GOXD.js → chunk-BFEMT5U3.js} +16 -16
  28. package/dist/cli-bundle/focused-chunks/{chunk-QOSVJDOO.js → chunk-FW7CSSKL.js} +61 -61
  29. package/dist/cli-bundle/focused-chunks/{chunk-AH6NX6GM.js → chunk-HYPRPSYD.js} +2 -2
  30. package/dist/cli-bundle/focused-chunks/{chunk-RBLSY6ML.js → chunk-IRVL4UXR.js} +2 -2
  31. package/dist/cli-bundle/focused-chunks/{chunk-RHTH5ILM.js → chunk-L55KQ2KT.js} +2 -2
  32. package/dist/cli-bundle/focused-chunks/{chunk-PYC7BF6Z.js → chunk-MASIOFPG.js} +2 -2
  33. package/dist/cli-bundle/focused-chunks/chunk-RJ3EIHDU.js +26 -0
  34. package/dist/cli-bundle/focused-chunks/chunk-SEL4Z2OO.js +167 -0
  35. package/dist/cli-bundle/focused-chunks/{chunk-2IOHHNRT.js → chunk-TB7F4FCR.js} +2 -2
  36. package/dist/cli-bundle/focused-chunks/{chunk-UNTQE37U.js → chunk-TZUIBG3P.js} +2 -2
  37. package/dist/cli-bundle/focused-chunks/{chunk-E33QA7PK.js → chunk-Z7YIFCNE.js} +2 -2
  38. package/dist/cli-bundle/focused-chunks/{chunk-SIGIGZCG.js → chunk-ZDBS2DCT.js} +2 -2
  39. package/dist/cli-bundle/main.js +2 -2
  40. package/dist/cli-bundle/sdk-authoring.js +1 -1
  41. package/dist/cli-bundle/sdk-contracts.js +1 -1
  42. package/dist/cli-bundle/sdk-core.js +16 -16
  43. package/dist/cli-bundle/sdk-governance.js +1 -1
  44. package/dist/cli-bundle/sdk-graph.js +1 -1
  45. package/dist/cli-bundle/sdk-merge.js +50 -49
  46. package/dist/cli-bundle/sdk-query.js +1 -1
  47. package/dist/cli-bundle/sdk-runtime.js +1 -1
  48. package/dist/cli-bundle/sdk-testing.js +1 -1
  49. package/dist/cli-bundle/sdk.js +1 -1
  50. package/dist/core/history/event-index.d.ts +8 -1
  51. package/dist/core/history/event-index.js +19 -18
  52. package/dist/core/item/item-format.js +1 -1
  53. package/dist/core/lock/lock.d.ts +8 -1
  54. package/dist/core/lock/lock.js +3 -3
  55. package/dist/core/output/output.js +2 -2
  56. package/dist/core/store/paths.js +1 -1
  57. package/dist/core/telemetry/policy.d.ts +2 -0
  58. package/dist/core/telemetry/policy.js +1 -1
  59. package/dist/core/telemetry/runtime.d.ts +5 -3
  60. package/dist/core/telemetry/runtime.js +3 -3
  61. package/dist/sdk/governance/health/projection.d.ts +37 -0
  62. package/dist/sdk/governance/health/projection.js +2 -0
  63. package/dist/sdk/governance/health.d.ts +7 -18
  64. package/dist/sdk/governance/health.js +2 -2
  65. package/dist/sdk/mutation-events.js +1 -1
  66. package/dist/sdk/public-surface.json +1 -1
  67. package/dist/sdk/query/list.d.ts +2 -0
  68. package/dist/sdk/query/list.js +1 -1
  69. package/dist/types.d.ts +2 -2
  70. package/dist/types.js +1 -1
  71. package/docs/COMMANDS.md +26 -0
  72. package/docs/CONFIGURATION.md +22 -1
  73. package/docs/DEVELOPMENT_DEPENDENCY_SECURITY.md +22 -3
  74. package/docs/OUTPUT_PROJECTION_CONTRACTS.md +10 -0
  75. package/docs/RELEASING.md +8 -1
  76. package/docs/SDK_CONTEXT_COORDINATION.md +71 -7
  77. package/docs/SDK_STORAGE_LIFECYCLE.md +24 -2
  78. package/docs/TESTING.md +8 -0
  79. package/docs/examples/ci/github-actions-pm-extension-gate.yml +1 -1
  80. package/docs/examples/ci/gitlab-ci-pm-extension-gate.yml +1 -1
  81. package/docs/examples/ci/jenkins-pm-extension-gate.Jenkinsfile +1 -1
  82. package/marketplace.json +1 -1
  83. package/node_modules/@opentelemetry/core/package.json +2 -1
  84. package/node_modules/@opentelemetry/instrumentation/package.json +2 -1
  85. package/node_modules/@opentelemetry/resources/package.json +2 -1
  86. package/node_modules/@opentelemetry/sdk-trace/package.json +2 -1
  87. package/node_modules/@opentelemetry/sdk-trace-base/package.json +2 -1
  88. package/node_modules/@sentry/core/build/cjs/client.js +5 -4
  89. package/node_modules/@sentry/core/build/cjs/tracing/ai/gen-ai-attributes.js +0 -4
  90. package/node_modules/@sentry/core/build/cjs/tracing/ai/utils.js +33 -23
  91. package/node_modules/@sentry/core/build/cjs/tracing/anthropic-ai/index.js +7 -6
  92. package/node_modules/@sentry/core/build/cjs/tracing/anthropic-ai/streaming.js +3 -1
  93. package/node_modules/@sentry/core/build/cjs/tracing/google-genai/index.js +13 -14
  94. package/node_modules/@sentry/core/build/cjs/tracing/google-genai/streaming.js +6 -1
  95. package/node_modules/@sentry/core/build/cjs/tracing/langchain/utils.js +71 -21
  96. package/node_modules/@sentry/core/build/cjs/tracing/langgraph/utils.js +23 -33
  97. package/node_modules/@sentry/core/build/cjs/tracing/openai/streaming.js +6 -0
  98. package/node_modules/@sentry/core/build/cjs/tracing/openai/utils.js +11 -0
  99. package/node_modules/@sentry/core/build/cjs/tracing/workers-ai/utils.js +1 -1
  100. package/node_modules/@sentry/core/build/cjs/utils/eventUtils.js +4 -0
  101. package/node_modules/@sentry/core/build/cjs/utils/prepareEvent.js +2 -2
  102. package/node_modules/@sentry/core/build/cjs/utils/version.js +1 -1
  103. package/node_modules/@sentry/core/build/esm/client.js +6 -5
  104. package/node_modules/@sentry/core/build/esm/package.json +1 -1
  105. package/node_modules/@sentry/core/build/esm/tracing/ai/gen-ai-attributes.js +1 -3
  106. package/node_modules/@sentry/core/build/esm/tracing/ai/utils.js +34 -24
  107. package/node_modules/@sentry/core/build/esm/tracing/anthropic-ai/index.js +8 -7
  108. package/node_modules/@sentry/core/build/esm/tracing/anthropic-ai/streaming.js +3 -1
  109. package/node_modules/@sentry/core/build/esm/tracing/google-genai/index.js +15 -16
  110. package/node_modules/@sentry/core/build/esm/tracing/google-genai/streaming.js +6 -1
  111. package/node_modules/@sentry/core/build/esm/tracing/langchain/utils.js +73 -24
  112. package/node_modules/@sentry/core/build/esm/tracing/langgraph/utils.js +24 -34
  113. package/node_modules/@sentry/core/build/esm/tracing/openai/streaming.js +6 -0
  114. package/node_modules/@sentry/core/build/esm/tracing/openai/utils.js +11 -0
  115. package/node_modules/@sentry/core/build/esm/tracing/workers-ai/utils.js +2 -2
  116. package/node_modules/@sentry/core/build/esm/utils/eventUtils.js +4 -1
  117. package/node_modules/@sentry/core/build/esm/utils/prepareEvent.js +2 -2
  118. package/node_modules/@sentry/core/build/esm/utils/version.js +1 -1
  119. package/node_modules/@sentry/core/build/types/tracing/ai/utils.d.ts +3 -7
  120. package/node_modules/@sentry/core/build/types/tracing/anthropic-ai/types.d.ts +2 -2
  121. package/node_modules/@sentry/core/build/types/tracing/langchain/types.d.ts +15 -0
  122. package/node_modules/@sentry/core/build/types/tracing/langchain/utils.d.ts +1 -0
  123. package/node_modules/@sentry/core/build/types/tracing/langgraph/utils.d.ts +2 -0
  124. package/node_modules/@sentry/core/build/types/tracing/openai/types.d.ts +2 -0
  125. package/node_modules/@sentry/core/build/types/utils/eventUtils.d.ts +2 -1
  126. package/node_modules/@sentry/core/build/types-ts3.8/tracing/ai/utils.d.ts +3 -7
  127. package/node_modules/@sentry/core/build/types-ts3.8/tracing/anthropic-ai/types.d.ts +2 -2
  128. package/node_modules/@sentry/core/build/types-ts3.8/tracing/langchain/types.d.ts +15 -0
  129. package/node_modules/@sentry/core/build/types-ts3.8/tracing/langchain/utils.d.ts +1 -0
  130. package/node_modules/@sentry/core/build/types-ts3.8/tracing/langgraph/utils.d.ts +2 -0
  131. package/node_modules/@sentry/core/build/types-ts3.8/tracing/openai/types.d.ts +2 -0
  132. package/node_modules/@sentry/core/build/types-ts3.8/utils/eventUtils.d.ts +2 -1
  133. package/node_modules/@sentry/core/package.json +1 -1
  134. package/node_modules/@sentry/node/build/esm/package.json +1 -1
  135. package/node_modules/@sentry/node/package.json +5 -5
  136. package/node_modules/@sentry/node-core/build/cjs/integrations/anr/index.js +1 -1
  137. package/node_modules/@sentry/node-core/build/cjs/integrations/local-variables/local-variables-async.js +1 -1
  138. package/node_modules/@sentry/node-core/build/esm/integrations/anr/index.js +1 -1
  139. package/node_modules/@sentry/node-core/build/esm/integrations/anr/worker-script.js +2 -2
  140. package/node_modules/@sentry/node-core/build/esm/integrations/local-variables/local-variables-async.js +1 -1
  141. package/node_modules/@sentry/node-core/build/esm/integrations/local-variables/worker-script.js +1 -1
  142. package/node_modules/@sentry/node-core/build/esm/package.json +1 -1
  143. package/node_modules/@sentry/node-core/package.json +10 -4
  144. package/node_modules/@sentry/opentelemetry/build/esm/package.json +1 -1
  145. package/node_modules/@sentry/opentelemetry/package.json +5 -2
  146. package/node_modules/@sentry/server-utils/build/THIRD-PARTY-LICENSES.txt +55 -55
  147. package/node_modules/@sentry/server-utils/build/esm/package.json +1 -1
  148. package/node_modules/@sentry/server-utils/package.json +2 -2
  149. package/node_modules/@toon-format/toon/README.md +10 -41
  150. package/node_modules/@toon-format/toon/dist/index.d.mts +12 -36
  151. package/node_modules/@toon-format/toon/dist/index.mjs +134 -202
  152. package/node_modules/@toon-format/toon/package.json +2 -2
  153. package/node_modules/debug/package.json +3 -0
  154. package/node_modules/fdir/package.json +3 -0
  155. package/node_modules/has-flag/index.d.ts +39 -0
  156. package/node_modules/has-flag/index.js +8 -0
  157. package/node_modules/has-flag/license +9 -0
  158. package/node_modules/has-flag/package.json +46 -0
  159. package/node_modules/has-flag/readme.md +89 -0
  160. package/node_modules/supports-color/browser.js +5 -0
  161. package/node_modules/supports-color/index.js +135 -0
  162. package/node_modules/supports-color/license +9 -0
  163. package/node_modules/supports-color/package.json +53 -0
  164. package/node_modules/supports-color/readme.md +76 -0
  165. package/package.json +4 -4
  166. package/packages/pm-beads/package.json +1 -1
  167. package/packages/pm-calendar/package.json +1 -1
  168. package/packages/pm-command-kit/package.json +1 -1
  169. package/packages/pm-digital-twin/package.json +1 -1
  170. package/packages/pm-governance-audit/package.json +1 -1
  171. package/packages/pm-guide-shell/package.json +1 -1
  172. package/packages/pm-kanban/package.json +1 -1
  173. package/packages/pm-lifecycle-hooks/package.json +1 -1
  174. package/packages/pm-linked-test-adapters/package.json +1 -1
  175. package/packages/pm-search-advanced/package.json +1 -1
  176. package/packages/pm-templates/package.json +1 -1
  177. package/packages/pm-todos/package.json +1 -1
  178. package/packages/pm-vcs/package.json +1 -1
  179. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  180. package/plugins/pm-claude/package.json +1 -1
  181. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  182. package/plugins/pm-codex/package.json +1 -1
  183. package/plugins/pm-codex/plugin.json +1 -1
  184. package/runtime-dependencies.json +1 -1
  185. package/dist/cli-bundle/chunks/chunk-4PNPDT2N.js +0 -236
  186. package/dist/cli-bundle/chunks/chunk-X53HM753.js +0 -20
  187. package/dist/cli-bundle/focused-chunks/chunk-5JEFDEL3.js +0 -166
  188. package/dist/cli-bundle/focused-chunks/chunk-TRFVAWF2.js +0 -26
@@ -591,38 +591,6 @@ SOFTWARE.
591
591
 
592
592
  ---
593
593
 
594
- Name: astring
595
- Version: 1.9.0
596
- License: MIT
597
- Private: false
598
- Description: JavaScript code generator from an ESTree-compliant AST.
599
- Repository: https://github.com/davidbonnet/astring.git
600
- Author: David Bonnet <david@bonnet.cc>
601
- License Text:
602
- ===
603
-
604
- Copyright (c) 2015, David Bonnet <david@bonnet.cc>
605
-
606
- Permission is hereby granted, free of charge, to any person obtaining a copy
607
- of this software and associated documentation files (the "Software"), to deal
608
- in the Software without restriction, including without limitation the rights
609
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
610
- copies of the Software, and to permit persons to whom the Software is
611
- furnished to do so, subject to the following conditions:
612
-
613
- The above copyright notice and this permission notice shall be included in
614
- all copies or substantial portions of the Software.
615
-
616
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
617
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
618
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
619
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
620
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
621
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
622
- THE SOFTWARE.
623
-
624
- ---
625
-
626
594
  Name: semifies
627
595
  Version: 1.0.0
628
596
  License: Apache-2.0
@@ -838,6 +806,60 @@ License Text:
838
806
 
839
807
  ---
840
808
 
809
+ Name: has-flag
810
+ Version: 4.0.0
811
+ License: MIT
812
+ Private: false
813
+ Description: Check if argv has a specific flag
814
+ Repository: undefined
815
+ Author: Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
816
+ License Text:
817
+ ===
818
+
819
+ MIT License
820
+
821
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
822
+
823
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
824
+
825
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
826
+
827
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
828
+
829
+ ---
830
+
831
+ Name: astring
832
+ Version: 1.9.0
833
+ License: MIT
834
+ Private: false
835
+ Description: JavaScript code generator from an ESTree-compliant AST.
836
+ Repository: https://github.com/davidbonnet/astring.git
837
+ Author: David Bonnet <david@bonnet.cc>
838
+ License Text:
839
+ ===
840
+
841
+ Copyright (c) 2015, David Bonnet <david@bonnet.cc>
842
+
843
+ Permission is hereby granted, free of charge, to any person obtaining a copy
844
+ of this software and associated documentation files (the "Software"), to deal
845
+ in the Software without restriction, including without limitation the rights
846
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
847
+ copies of the Software, and to permit persons to whom the Software is
848
+ furnished to do so, subject to the following conditions:
849
+
850
+ The above copyright notice and this permission notice shall be included in
851
+ all copies or substantial portions of the Software.
852
+
853
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
854
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
855
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
856
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
857
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
858
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
859
+ THE SOFTWARE.
860
+
861
+ ---
862
+
841
863
  Name: source-map
842
864
  Version: 0.6.1
843
865
  License: BSD-3-Clause
@@ -951,26 +973,4 @@ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
951
973
  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
952
974
  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
953
975
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
954
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
955
-
956
- ---
957
-
958
- Name: has-flag
959
- Version: 4.0.0
960
- License: MIT
961
- Private: false
962
- Description: Check if argv has a specific flag
963
- Repository: undefined
964
- Author: Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
965
- License Text:
966
- ===
967
-
968
- MIT License
969
-
970
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
971
-
972
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
973
-
974
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
975
-
976
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
976
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1 +1 @@
1
- {"type":"module","version":"10.76.0","sideEffects":false}
1
+ {"type":"module","version":"10.76.2","sideEffects":false}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/server-utils",
3
- "version": "10.76.0",
3
+ "version": "10.76.2",
4
4
  "description": "Server Utilities for all Sentry JavaScript SDKs",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/server-utils",
@@ -125,7 +125,7 @@
125
125
  },
126
126
  "dependencies": {
127
127
  "@sentry/conventions": "^0.16.0",
128
- "@sentry/core": "10.76.0"
128
+ "@sentry/core": "10.76.2"
129
129
  },
130
130
  "devDependencies": {
131
131
  "@apm-js-collab/code-transformer-bundler-plugins": "^0.7.3",
@@ -1,10 +1,10 @@
1
- ![Summary card: JSON encodes to TOON for LLM prompts, with token and accuracy benchmarks](./.github/og_v4.png)
1
+ ![Summary card: JSON encodes to TOON for LLM prompts, with token and accuracy benchmarks](./docs/public/og_v4.png)
2
2
 
3
3
  # Token-Oriented Object Notation (TOON)
4
4
 
5
5
  [![CI](https://github.com/toon-format/toon/actions/workflows/ci.yml/badge.svg)](https://github.com/toon-format/toon/actions)
6
6
  [![npm version](https://img.shields.io/npm/v/@toon-format/toon.svg?labelColor=1b1b1f&color=fef3c0)](https://www.npmjs.com/package/@toon-format/toon)
7
- [![SPEC v4.1](https://img.shields.io/badge/spec-v4.1-fef3c0?labelColor=1b1b1f)](https://github.com/toon-format/spec)
7
+ [![SPEC v4.4](https://img.shields.io/badge/spec-v4.4-fef3c0?labelColor=1b1b1f)](https://github.com/toon-format/spec)
8
8
  [![npm downloads (total)](https://img.shields.io/npm/dt/@toon-format/toon.svg?labelColor=1b1b1f&color=fef3c0)](https://www.npmjs.com/package/@toon-format/toon)
9
9
  [![License: MIT](https://img.shields.io/badge/license-MIT-fef3c0?labelColor=1b1b1f)](./LICENSE)
10
10
 
@@ -29,7 +29,6 @@ Think of it as a translation layer: use JSON programmatically, and encode it as
29
29
  - [Ecosystem](#ecosystem)
30
30
  - [Documentation](#documentation)
31
31
  - [Media Type & File Extension](#media-type--file-extension)
32
- - [Other Implementations](#other-implementations)
33
32
  - [📋 Full Specification](https://github.com/toon-format/spec/blob/main/SPEC.md)
34
33
 
35
34
  ## Why TOON?
@@ -143,16 +142,16 @@ Anything that fits none of these – mixed types, non-uniform objects – falls
143
142
 
144
143
  ## Key Features
145
144
 
146
- - 📊 **Token-Efficient & Accurate:** Matches JSON's retrieval accuracy while using 42.6% fewer tokens – see [Benchmarks](#benchmarks).
145
+ - 📊 **Token-Efficient & Accurate:** Matches JSON's retrieval accuracy with fewer tokens – see [Benchmarks](#benchmarks).
147
146
  - 🔁 **JSON Data Model:** Encodes the same objects, arrays, and primitives as JSON with deterministic, lossless round-trips.
148
- - 🛤️ **LLM-Friendly Guardrails:** Explicit `[N]` lengths and `{fields}` field lists give models a clear schema to follow, improving parsing reliability.
147
+ - 🛤️ **LLM-Friendly Guardrails:** `[N]` declares how many rows, `{fields}` how wide – so truncated or malformed output can't slip through.
149
148
  - 📐 **Minimal Syntax:** Uses indentation instead of braces and minimizes quoting, giving YAML-like readability with CSV-style compactness.
150
- - 🧺 **Tabular Forms:** Uniform arrays of objects – and objects of uniform objects – collapse into tables that declare the field list once and stream row values line by line.
151
- - 🌐 **Multi-Language Ecosystem:** Spec-driven implementations in many languages.
149
+ - 🧺 **Tabular Forms:** Uniform objects – in an array or under keys – declare the field list once, then stream one row each.
150
+ - 🌐 **Multi-Language Ecosystem:** Official implementations, plus dozens of community ports, all targeting one spec with a shared conformance test suite.
152
151
 
153
152
  ## When Not to Use TOON
154
153
 
155
- TOON excels with uniform arrays of objects. Reach for something else when:
154
+ TOON excels with arrays of uniform objects. Reach for something else when:
156
155
 
157
156
  - **Structures are deeply nested or non-uniform** (tabular eligibility ≈ 0%) – compact JSON often wins outright.
158
157
  - **Arrays are semi-uniform** (~40–60% eligibility) – savings shrink; stay on JSON if your pipeline already speaks it.
@@ -690,14 +689,7 @@ repositories[3]{id,name,repo,description,createdAt,updatedAt,pushedAt,stars,watc
690
689
  ## Installation & Quick Start
691
690
 
692
691
  ```bash
693
- # npm
694
692
  npm install @toon-format/toon
695
-
696
- # pnpm
697
- pnpm add @toon-format/toon
698
-
699
- # yarn
700
- yarn add @toon-format/toon
701
693
  ```
702
694
 
703
695
  To keep the [CLI](#cli) around instead of invoking it through `npx`, install it globally:
@@ -792,40 +784,17 @@ Follow the detailed [LLM integration guide](https://toonformat.dev/guide/llm-pro
792
784
 
793
785
  **Playgrounds** – the [official playground](https://toonformat.dev/playground) converts JSON or YAML to TOON in real time, compares token counts, and shares experiments by URL. Community alternatives: [Format Tokenization Playground](https://www.curiouslychase.com/playground/format-tokenization-exploration), [TOON Tools](https://toontools.vercel.app/).
794
786
 
795
- **Editors** – [TOON Language Support](https://marketplace.visualstudio.com/items?itemName=vishalraut.vscode-toon) for VS Code (`code --install-extension vishalraut.vscode-toon`) adds highlighting, validation, and token analysis. [tree-sitter-toon](https://github.com/3swordman/tree-sitter-toon) covers Neovim, Helix, Emacs, and Zed; [toon.nvim](https://github.com/thalesgelinger/toon.nvim) is a Lua-native alternative. Elsewhere, YAML highlighting is a close approximation.
787
+ **Editors** – the official [VS Code extension](https://marketplace.visualstudio.com/items?itemName=toon-format.toon) (`code --install-extension toon-format.toon`) adds syntax highlighting; the community [TOON Language Support](https://marketplace.visualstudio.com/items?itemName=vishalraut.vscode-toon) adds validation, conversion, and token analysis. [tree-sitter-toon](https://github.com/3swordman/tree-sitter-toon) covers Neovim, Helix, Emacs, and Zed; [toon.nvim](https://github.com/thalesgelinger/toon.nvim) is a Lua-native alternative. Elsewhere, YAML highlighting is a close approximation.
796
788
 
797
789
  **Tooling** – [Tooner](https://github.com/chaindead/tooner) is an MCP proxy that converts JSON tool responses to TOON.
798
790
 
799
791
  ## Documentation
800
792
 
801
- ### Getting Started
802
-
803
- - [Introduction & Installation](https://toonformat.dev/guide/getting-started) – What TOON is, when to use it, first steps
804
- - [Format Overview](https://toonformat.dev/guide/format-overview) – Complete syntax with examples
805
- - [Benchmarks](https://toonformat.dev/guide/benchmarks) – Accuracy & token efficiency results
806
-
807
- ### Tools & Integration
808
-
809
- - [CLI](https://toonformat.dev/cli/) – Command-line tool for JSON↔TOON conversions
810
- - [Playgrounds](https://toonformat.dev/ecosystem/tools-and-playgrounds) – Interactive tools
811
- - [Using TOON with LLMs](https://toonformat.dev/guide/llm-prompts) – Prompting strategies & validation
812
-
813
- ### References
814
-
815
- - [API Reference](https://toonformat.dev/reference/api) – TypeScript/JavaScript encode/decode API
816
- - [Syntax Cheatsheet](https://toonformat.dev/reference/syntax-cheatsheet) – Quick format lookup
817
- - [Specification](https://github.com/toon-format/spec/blob/main/SPEC.md) – Normative rules for implementers
818
- - [Glossary](https://github.com/toon-format/spec/blob/main/CONTEXT.md) – One name per concept, for contributors and tooling
793
+ Guides and the API and CLI references live at [toonformat.dev](https://toonformat.dev); ports to other languages are listed under [Implementations](https://toonformat.dev/ecosystem/implementations). The [Glossary](https://github.com/toon-format/spec/blob/main/CONTEXT.md) gives each concept one name, for contributors and tooling.
819
794
 
820
795
  ## Media Type & File Extension
821
796
 
822
- TOON files use the `.toon` extension and the provisional media type `text/toon`. Documents are always UTF-8; the `charset=utf-8` parameter may be given but is assumed when absent. See [SPEC.md §17](https://github.com/toon-format/spec/blob/main/SPEC.md#17-iana-considerations) for normative details.
823
-
824
- ## Other Implementations
825
-
826
- TOON has official and community implementations across multiple languages including Python, Rust, Go, Java, Swift, .NET, and many more.
827
-
828
- See the full list of implementations in the [documentation](https://toonformat.dev/ecosystem/implementations).
797
+ TOON files use the `.toon` extension and the provisional media type `text/toon` (UTF-8) – see [spec §17](https://github.com/toon-format/spec/blob/main/SPEC.md#17-iana-considerations).
829
798
 
830
799
  ## Credits
831
800
 
@@ -1,12 +1,12 @@
1
1
  //#region src/constants.d.ts
2
- declare const DELIMITERS: {
2
+ export declare const DELIMITERS: {
3
3
  readonly comma: ",";
4
4
  readonly tab: "\t";
5
5
  readonly pipe: "|";
6
6
  };
7
7
  type DelimiterKey = keyof typeof DELIMITERS;
8
8
  type Delimiter = typeof DELIMITERS[DelimiterKey];
9
- declare const DEFAULT_DELIMITER: Delimiter;
9
+ export declare const DEFAULT_DELIMITER: Delimiter;
10
10
  //#endregion
11
11
  //#region src/types.d.ts
12
12
  type JsonPrimitive = string | number | boolean | null;
@@ -110,7 +110,7 @@ type JsonStreamEvent = {
110
110
  * Extends `SyntaxError` so existing `instanceof SyntaxError` checks keep working.
111
111
  * Adds structured location fields for programmatic consumers and richer CLI output.
112
112
  */
113
- declare class ToonDecodeError extends SyntaxError {
113
+ export declare class ToonDecodeError extends SyntaxError {
114
114
  /** 1-based line number where the error was detected, if known. */
115
115
  readonly line?: number;
116
116
  /** Raw source line (including indentation) where the error was detected, if known. */
@@ -150,7 +150,7 @@ declare class RawString {
150
150
  * // age: "30"
151
151
  * ```
152
152
  */
153
- declare function rawString(value: string): RawString;
153
+ export declare function rawString(value: string): RawString;
154
154
  //#endregion
155
155
  //#region src/shared/string-utils.d.ts
156
156
  /**
@@ -159,16 +159,12 @@ declare function rawString(value: string): RawString;
159
159
  * @remarks
160
160
  * Control characters outside `\n`, `\r`, `\t`, `\\`, and `"` are emitted as `\uXXXX`.
161
161
  */
162
- declare function escapeString(value: string): string;
162
+ export declare function escapeString(value: string): string;
163
163
  //#endregion
164
164
  //#region src/index.d.ts
165
165
  /**
166
166
  * Encodes a JavaScript value into TOON format string.
167
167
  *
168
- * @param input Any JavaScript value (objects, arrays, primitives)
169
- * @param options Optional encoding configuration
170
- * @returns TOON formatted string
171
- *
172
168
  * @example
173
169
  * ```ts
174
170
  * encode({ name: 'Ada', age: 30 })
@@ -186,14 +182,10 @@ declare function escapeString(value: string): string;
186
182
  * encode(data, { indentSize: 4 })
187
183
  * ```
188
184
  */
189
- declare function encode(input: unknown, options?: EncodeOptions): string;
185
+ export declare function encode(input: unknown, options?: EncodeOptions): string;
190
186
  /**
191
187
  * Decodes a TOON format string into a JavaScript value.
192
188
  *
193
- * @param input TOON formatted string
194
- * @param options Optional decoding configuration
195
- * @returns Parsed JavaScript value (object, array, or primitive)
196
- *
197
189
  * @example
198
190
  * ```ts
199
191
  * decode('name: Ada\nage: 30')
@@ -208,17 +200,13 @@ declare function encode(input: unknown, options?: EncodeOptions): string;
208
200
  * decode(toonString, { strict: false })
209
201
  * ```
210
202
  */
211
- declare function decode(input: string, options?: DecodeOptions): JsonValue;
203
+ export declare function decode(input: string, options?: DecodeOptions): JsonValue;
212
204
  /**
213
205
  * Encodes a JavaScript value into TOON format as a sequence of lines.
214
206
  *
215
207
  * This function yields TOON lines one at a time without building the full string,
216
208
  * making it suitable for streaming large outputs to files, HTTP responses, or process stdout.
217
209
  *
218
- * @param input Any JavaScript value (objects, arrays, primitives)
219
- * @param options Optional encoding configuration
220
- * @returns Iterable of TOON lines (without trailing newlines)
221
- *
222
210
  * @example
223
211
  * ```ts
224
212
  * // Stream to stdout
@@ -233,17 +221,13 @@ declare function decode(input: string, options?: DecodeOptions): JsonValue;
233
221
  * const toonString = Array.from(encodeLines(data, options)).join('\n')
234
222
  * ```
235
223
  */
236
- declare function encodeLines(input: unknown, options?: EncodeOptions): Iterable<string>;
224
+ export declare function encodeLines(input: unknown, options?: EncodeOptions): Iterable<string>;
237
225
  /**
238
226
  * Decodes TOON format from pre-split lines into a JavaScript value.
239
227
  *
240
228
  * Convenience wrapper around the streaming decoder that builds the full
241
229
  * value in memory.
242
230
  *
243
- * @param lines Iterable of TOON lines (without newlines)
244
- * @param options Optional decoding configuration
245
- * @returns Parsed JavaScript value (object, array, or primitive)
246
- *
247
231
  * @example
248
232
  * ```ts
249
233
  * const lines = ['name: Ada', 'age: 30']
@@ -251,17 +235,13 @@ declare function encodeLines(input: unknown, options?: EncodeOptions): Iterable<
251
235
  * // { name: 'Ada', age: 30 }
252
236
  * ```
253
237
  */
254
- declare function decodeFromLines(lines: Iterable<string>, options?: DecodeOptions): JsonValue;
238
+ export declare function decodeFromLines(lines: Iterable<string>, options?: DecodeOptions): JsonValue;
255
239
  /**
256
240
  * Synchronously decodes TOON lines into a stream of JSON events.
257
241
  *
258
242
  * Yields structured events (startObject, endObject, startArray, endArray, key,
259
243
  * primitive) that represent the JSON data model without building the full value tree.
260
244
  *
261
- * @param lines Iterable of TOON lines (without newlines)
262
- * @param options Optional decoding configuration
263
- * @returns Iterable of JSON stream events
264
- *
265
245
  * @example
266
246
  * ```ts
267
247
  * const lines = ['name: Ada', 'age: 30']
@@ -274,7 +254,7 @@ declare function decodeFromLines(lines: Iterable<string>, options?: DecodeOption
274
254
  * }
275
255
  * ```
276
256
  */
277
- declare function decodeStreamSync(lines: Iterable<string>, options?: DecodeStreamOptions): Iterable<JsonStreamEvent>;
257
+ export declare function decodeStreamSync(lines: Iterable<string>, options?: DecodeStreamOptions): Iterable<JsonStreamEvent>;
278
258
  /**
279
259
  * Asynchronously decodes TOON lines into a stream of JSON events.
280
260
  *
@@ -282,10 +262,6 @@ declare function decodeStreamSync(lines: Iterable<string>, options?: DecodeStrea
282
262
  * primitive) that represent the JSON data model without building the full value tree.
283
263
  * Supports both sync and async iterables.
284
264
  *
285
- * @param source Async or sync iterable of TOON lines (without newlines)
286
- * @param options Optional decoding configuration
287
- * @returns Async iterable of JSON stream events
288
- *
289
265
  * @example
290
266
  * ```ts
291
267
  * const fileStream = createReadStream('data.toon', 'utf-8')
@@ -300,6 +276,6 @@ declare function decodeStreamSync(lines: Iterable<string>, options?: DecodeStrea
300
276
  * }
301
277
  * ```
302
278
  */
303
- declare function decodeStream(source: AsyncIterable<string> | Iterable<string>, options?: DecodeStreamOptions): AsyncIterable<JsonStreamEvent>;
279
+ export declare function decodeStream(source: AsyncIterable<string> | Iterable<string>, options?: DecodeStreamOptions): AsyncIterable<JsonStreamEvent>;
304
280
  //#endregion
305
- export { DEFAULT_DELIMITER, DELIMITERS, type DecodeOptions, type DecodeStreamOptions, type Delimiter, type DelimiterKey, type EncodeOptions, type EncodeReplacer, type JsonArray, type JsonObject, type JsonPrimitive, type JsonStreamEvent, type JsonValue, type RawString, type ResolvedDecodeOptions, type ResolvedEncodeOptions, ToonDecodeError, decode, decodeFromLines, decodeStream, decodeStreamSync, encode, encodeLines, escapeString, rawString };
281
+ export type { DecodeOptions, DecodeStreamOptions, Delimiter, DelimiterKey, EncodeOptions, EncodeReplacer, JsonArray, JsonObject, JsonPrimitive, JsonStreamEvent, JsonValue, RawString, ResolvedDecodeOptions, ResolvedEncodeOptions };