llmz 0.0.8 → 0.0.10

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 (92) hide show
  1. package/package.json +3 -3
  2. package/dist/chat.d.ts +0 -17
  3. package/dist/chunk-276Q6EWP.cjs +0 -224
  4. package/dist/chunk-4L6D2A6O.cjs +0 -283
  5. package/dist/chunk-4MNIJGK6.js +0 -224
  6. package/dist/chunk-7WRN4E42.js +0 -3087
  7. package/dist/chunk-BEPRLBPK.cjs +0 -3123
  8. package/dist/chunk-C6WNNTEV.cjs +0 -212
  9. package/dist/chunk-D3ESDRLH.js +0 -3123
  10. package/dist/chunk-GGWM6X2K.js +0 -184
  11. package/dist/chunk-GWFYZDUR.cjs +0 -105
  12. package/dist/chunk-HJKOSEH2.cjs +0 -722
  13. package/dist/chunk-IH2WQFO5.js +0 -283
  14. package/dist/chunk-IKSIOIIP.cjs +0 -28
  15. package/dist/chunk-JAGB2AOU.js +0 -212
  16. package/dist/chunk-JDABP4SD.cjs +0 -161
  17. package/dist/chunk-JGVAZO4X.cjs +0 -152
  18. package/dist/chunk-JKVVQN2P.js +0 -161
  19. package/dist/chunk-JMSZKB4T.js +0 -105
  20. package/dist/chunk-JQBT7UWN.js +0 -28
  21. package/dist/chunk-KH6JQYQA.js +0 -796
  22. package/dist/chunk-KMZDFWYZ.cjs +0 -33
  23. package/dist/chunk-ORQP26SZ.js +0 -33
  24. package/dist/chunk-PRVFVXT4.js +0 -722
  25. package/dist/chunk-SHJDRZF5.cjs +0 -796
  26. package/dist/chunk-SNDVQU5A.js +0 -152
  27. package/dist/chunk-UQOBUJIQ.cjs +0 -3087
  28. package/dist/chunk-ZRCU35UV.cjs +0 -184
  29. package/dist/citations.d.ts +0 -63
  30. package/dist/compiler/compiler.d.ts +0 -28
  31. package/dist/compiler/index.d.ts +0 -2
  32. package/dist/compiler/plugins/async-iterator.d.ts +0 -4
  33. package/dist/compiler/plugins/braces-tsx.d.ts +0 -3
  34. package/dist/compiler/plugins/jsx-preserve-newlines.d.ts +0 -5
  35. package/dist/compiler/plugins/line-tracking.d.ts +0 -5
  36. package/dist/compiler/plugins/replace-comment.d.ts +0 -5
  37. package/dist/compiler/plugins/return-async.d.ts +0 -4
  38. package/dist/compiler/plugins/track-tool-calls.d.ts +0 -16
  39. package/dist/compiler/plugins/variable-extraction.d.ts +0 -5
  40. package/dist/component-R4WTW6DZ.cjs +0 -18
  41. package/dist/component-WFVDVSDK.js +0 -18
  42. package/dist/component.d.ts +0 -66
  43. package/dist/component.default.d.ts +0 -316
  44. package/dist/context.d.ts +0 -176
  45. package/dist/dual-modes-T53P72CH.js +0 -12
  46. package/dist/dual-modes-VLIGPIHX.cjs +0 -12
  47. package/dist/errors.d.ts +0 -64
  48. package/dist/exit-TRXEU4OU.cjs +0 -8
  49. package/dist/exit-YORW76T3.js +0 -8
  50. package/dist/exit.d.ts +0 -26
  51. package/dist/formatting.d.ts +0 -5
  52. package/dist/getter.d.ts +0 -2
  53. package/dist/handlers.d.ts +0 -10
  54. package/dist/hoist.d.ts +0 -2
  55. package/dist/index.cjs +0 -921
  56. package/dist/index.d.ts +0 -23
  57. package/dist/index.js +0 -921
  58. package/dist/inspect.d.ts +0 -6
  59. package/dist/jsx-AEHVFB3L.js +0 -13
  60. package/dist/jsx-AJAXBWFE.cjs +0 -13
  61. package/dist/jsx.d.ts +0 -11
  62. package/dist/llmz-QLZBDG2Z.cjs +0 -576
  63. package/dist/llmz-ROOX7RYI.js +0 -576
  64. package/dist/llmz.d.ts +0 -40
  65. package/dist/objects.d.ts +0 -24
  66. package/dist/prompts/chat-mode/system.md.d.ts +0 -2
  67. package/dist/prompts/chat-mode/user.md.d.ts +0 -2
  68. package/dist/prompts/common.d.ts +0 -6
  69. package/dist/prompts/dual-modes.d.ts +0 -2
  70. package/dist/prompts/prompt.d.ts +0 -55
  71. package/dist/prompts/worker-mode/system.md.d.ts +0 -2
  72. package/dist/prompts/worker-mode/user.md.d.ts +0 -2
  73. package/dist/result.d.ts +0 -33
  74. package/dist/snapshots.d.ts +0 -69
  75. package/dist/stack-traces.d.ts +0 -1
  76. package/dist/tool-N6ODRRGH.js +0 -11
  77. package/dist/tool-QP4MVRWI.cjs +0 -11
  78. package/dist/tool.d.ts +0 -56
  79. package/dist/transcript.d.ts +0 -36
  80. package/dist/truncator-DUMWEGQO.cjs +0 -10
  81. package/dist/truncator-IY2MXOMC.js +0 -10
  82. package/dist/truncator.d.ts +0 -20
  83. package/dist/types.d.ts +0 -105
  84. package/dist/typings-2CPHOFDN.cjs +0 -10
  85. package/dist/typings-GDMY6VY2.js +0 -10
  86. package/dist/typings.d.ts +0 -5
  87. package/dist/utils-A7WNEFTA.cjs +0 -39
  88. package/dist/utils-N24IHDFA.js +0 -39
  89. package/dist/utils.d.ts +0 -23
  90. package/dist/vm-2DLG7V4G.cjs +0 -12
  91. package/dist/vm-FLBMZUA2.js +0 -12
  92. package/dist/vm.d.ts +0 -3
@@ -1,33 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _chunkUQOBUJIQcjs = require('./chunk-UQOBUJIQ.cjs');
5
-
6
- // src/jsx.ts
7
- var _zui = require('@bpinternal/zui');
8
- function isAnyJsxComponent(component) {
9
- return typeof component === "object" && component !== null && "__jsx" in component && component.__jsx === true && typeof component.type === "string";
10
- }
11
- function isJsxComponent(type, component) {
12
- return typeof component === "object" && component !== null && "__jsx" in component && component.__jsx === true && typeof component.type === "string" && typeof type === "string" && component.type.toUpperCase().trim() === type.toUpperCase().trim();
13
- }
14
- var createJsxComponent = (props) => ({
15
- __jsx: true,
16
- type: _chunkUQOBUJIQcjs.isString_default.call(void 0, props.type) ? props.type.toUpperCase() : "__unknown__",
17
- children: Array.isArray(props.children) ? props.children : props.children ? [props.children] : [],
18
- props: _chunkUQOBUJIQcjs.isPlainObject_default.call(void 0, props.props) ? props.props : {}
19
- });
20
- var Jsx = _zui.z.custom(
21
- (value) => isAnyJsxComponent(value),
22
- (value) => ({
23
- params: { value },
24
- message: `Invalid JSX component: ${value}`
25
- })
26
- );
27
-
28
-
29
-
30
-
31
-
32
-
33
- exports.isAnyJsxComponent = isAnyJsxComponent; exports.isJsxComponent = isJsxComponent; exports.createJsxComponent = createJsxComponent; exports.Jsx = Jsx;
@@ -1,33 +0,0 @@
1
- import {
2
- isPlainObject_default,
3
- isString_default
4
- } from "./chunk-7WRN4E42.js";
5
-
6
- // src/jsx.ts
7
- import { z } from "@bpinternal/zui";
8
- function isAnyJsxComponent(component) {
9
- return typeof component === "object" && component !== null && "__jsx" in component && component.__jsx === true && typeof component.type === "string";
10
- }
11
- function isJsxComponent(type, component) {
12
- return typeof component === "object" && component !== null && "__jsx" in component && component.__jsx === true && typeof component.type === "string" && typeof type === "string" && component.type.toUpperCase().trim() === type.toUpperCase().trim();
13
- }
14
- var createJsxComponent = (props) => ({
15
- __jsx: true,
16
- type: isString_default(props.type) ? props.type.toUpperCase() : "__unknown__",
17
- children: Array.isArray(props.children) ? props.children : props.children ? [props.children] : [],
18
- props: isPlainObject_default(props.props) ? props.props : {}
19
- });
20
- var Jsx = z.custom(
21
- (value) => isAnyJsxComponent(value),
22
- (value) => ({
23
- params: { value },
24
- message: `Invalid JSX component: ${value}`
25
- })
26
- );
27
-
28
- export {
29
- isAnyJsxComponent,
30
- isJsxComponent,
31
- createJsxComponent,
32
- Jsx
33
- };