@maxanstey-meridian/tandem 0.1.2 → 0.1.4

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 (102) hide show
  1. package/README.md +21 -2
  2. package/dist/index.js +7 -2
  3. package/dist/runtime/Humanizer.dll +0 -0
  4. package/dist/runtime/Json.More.dll +0 -0
  5. package/dist/runtime/JsonPointer.Net.dll +0 -0
  6. package/dist/runtime/JsonSchema.Net.Generation.dll +0 -0
  7. package/dist/runtime/JsonSchema.Net.dll +0 -0
  8. package/dist/runtime/Tandem.Advanced.dll +0 -0
  9. package/dist/runtime/Tandem.Ledger.dll +0 -0
  10. package/dist/runtime/Tandem.NodeApiSpike.Bridge.deps.json +170 -110
  11. package/dist/runtime/Tandem.NodeApiSpike.Bridge.dll +0 -0
  12. package/dist/runtime/Tandem.OpenAICompatible.dll +0 -0
  13. package/dist/runtime/Tandem.Terminal.dll +0 -0
  14. package/dist/runtime/Tandem.dll +0 -0
  15. package/dist/runtime/Tavily.dll +0 -0
  16. package/dist/runtime/cs/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  17. package/dist/runtime/cs/Microsoft.CodeAnalysis.resources.dll +0 -0
  18. package/dist/runtime/de/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  19. package/dist/runtime/de/Microsoft.CodeAnalysis.resources.dll +0 -0
  20. package/dist/runtime/es/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  21. package/dist/runtime/es/Microsoft.CodeAnalysis.resources.dll +0 -0
  22. package/dist/runtime/fr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  23. package/dist/runtime/fr/Microsoft.CodeAnalysis.resources.dll +0 -0
  24. package/dist/runtime/import.cjs +3 -0
  25. package/dist/runtime/it/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  26. package/dist/runtime/it/Microsoft.CodeAnalysis.resources.dll +0 -0
  27. package/dist/runtime/ja/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  28. package/dist/runtime/ja/Microsoft.CodeAnalysis.resources.dll +0 -0
  29. package/dist/runtime/ko/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  30. package/dist/runtime/ko/Microsoft.CodeAnalysis.resources.dll +0 -0
  31. package/dist/runtime/pl/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  32. package/dist/runtime/pl/Microsoft.CodeAnalysis.resources.dll +0 -0
  33. package/dist/runtime/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  34. package/dist/runtime/pt-BR/Microsoft.CodeAnalysis.resources.dll +0 -0
  35. package/dist/runtime/ru/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  36. package/dist/runtime/ru/Microsoft.CodeAnalysis.resources.dll +0 -0
  37. package/dist/runtime/tr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  38. package/dist/runtime/tr/Microsoft.CodeAnalysis.resources.dll +0 -0
  39. package/dist/runtime/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  40. package/dist/runtime/zh-Hans/Microsoft.CodeAnalysis.resources.dll +0 -0
  41. package/dist/runtime/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  42. package/dist/runtime/zh-Hant/Microsoft.CodeAnalysis.resources.dll +0 -0
  43. package/package.json +6 -12
  44. package/runtime/FluentValidation.dll +0 -0
  45. package/runtime/Google.Protobuf.dll +0 -0
  46. package/runtime/Microsoft.Agents.AI.Abstractions.dll +0 -0
  47. package/runtime/Microsoft.Agents.AI.Harness.dll +0 -0
  48. package/runtime/Microsoft.Agents.AI.Tools.Shell.dll +0 -0
  49. package/runtime/Microsoft.Agents.AI.Workflows.dll +0 -0
  50. package/runtime/Microsoft.Agents.AI.dll +0 -0
  51. package/runtime/Microsoft.CodeAnalysis.CSharp.dll +0 -0
  52. package/runtime/Microsoft.CodeAnalysis.dll +0 -0
  53. package/runtime/Microsoft.Data.Sqlite.dll +0 -0
  54. package/runtime/Microsoft.Extensions.AI.Abstractions.dll +0 -0
  55. package/runtime/Microsoft.Extensions.AI.Evaluation.dll +0 -0
  56. package/runtime/Microsoft.Extensions.AI.OpenAI.dll +0 -0
  57. package/runtime/Microsoft.Extensions.AI.dll +0 -0
  58. package/runtime/Microsoft.Extensions.Caching.Abstractions.dll +0 -0
  59. package/runtime/Microsoft.Extensions.Compliance.Abstractions.dll +0 -0
  60. package/runtime/Microsoft.Extensions.Configuration.Abstractions.dll +0 -0
  61. package/runtime/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
  62. package/runtime/Microsoft.Extensions.Diagnostics.Abstractions.dll +0 -0
  63. package/runtime/Microsoft.Extensions.FileProviders.Abstractions.dll +0 -0
  64. package/runtime/Microsoft.Extensions.FileSystemGlobbing.dll +0 -0
  65. package/runtime/Microsoft.Extensions.Hosting.Abstractions.dll +0 -0
  66. package/runtime/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
  67. package/runtime/Microsoft.Extensions.ObjectPool.dll +0 -0
  68. package/runtime/Microsoft.Extensions.Options.dll +0 -0
  69. package/runtime/Microsoft.Extensions.Primitives.dll +0 -0
  70. package/runtime/Microsoft.Extensions.VectorData.Abstractions.dll +0 -0
  71. package/runtime/Microsoft.JavaScript.NodeApi.dll +0 -0
  72. package/runtime/Microsoft.ML.Tokenizers.dll +0 -0
  73. package/runtime/OpenAI.dll +0 -0
  74. package/runtime/OpenTelemetry.Api.dll +0 -0
  75. package/runtime/SQLitePCLRaw.batteries_v2.dll +0 -0
  76. package/runtime/SQLitePCLRaw.core.dll +0 -0
  77. package/runtime/SQLitePCLRaw.provider.e_sqlite3.dll +0 -0
  78. package/runtime/Spectre.Console.Ansi.dll +0 -0
  79. package/runtime/Spectre.Console.dll +0 -0
  80. package/runtime/System.ClientModel.dll +0 -0
  81. package/runtime/System.Memory.Data.dll +0 -0
  82. package/runtime/System.Numerics.Tensors.dll +0 -0
  83. package/runtime/System.Reflection.MetadataLoadContext.dll +0 -0
  84. package/runtime/Tandem.Advanced.dll +0 -0
  85. package/runtime/Tandem.Ledger.dll +0 -0
  86. package/runtime/Tandem.NodeApiSpike.Bridge.cjs +0 -26
  87. package/runtime/Tandem.NodeApiSpike.Bridge.d.ts +0 -23
  88. package/runtime/Tandem.NodeApiSpike.Bridge.deps.json +0 -1097
  89. package/runtime/Tandem.NodeApiSpike.Bridge.dll +0 -0
  90. package/runtime/Tandem.NodeApiSpike.Bridge.mjs +0 -31
  91. package/runtime/Tandem.NodeApiSpike.Bridge.runtimeconfig.json +0 -13
  92. package/runtime/Tandem.OpenAICompatible.dll +0 -0
  93. package/runtime/Tandem.Terminal.dll +0 -0
  94. package/runtime/Tandem.dll +0 -0
  95. package/runtime/libe_sqlite3.dylib +0 -0
  96. package/runtime/loader.d.mts +0 -10
  97. package/runtime/loader.mjs +0 -35
  98. package/scripts/install-runtime.mjs +0 -75
  99. package/src/cli.ts +0 -72
  100. package/src/index.ts +0 -2096
  101. package/src/runtime/loader.d.mts +0 -10
  102. package/tsconfig.json +0 -14
package/README.md CHANGED
@@ -15,7 +15,8 @@ agentic pipeline SDK running on .NET and Microsoft Agent Framework.
15
15
  npm install @maxanstey-meridian/tandem zod
16
16
  ```
17
17
 
18
- Install only this package in application code. Its runtime packages are selected automatically.
18
+ The package includes compiled JavaScript, TypeScript declarations, and the macOS Apple silicon
19
+ bridge runtime. Installation does not compile the SDK or download a bridge.
19
20
 
20
21
  ## Quick Start
21
22
 
@@ -56,7 +57,25 @@ console.log(result.state.normalized);
56
57
  ```
57
58
 
58
59
  State holds application facts, participants perform work, and routes decide what runs next. See the
59
- [TypeScript guide](https://github.com/maxanstey-meridian/tandem/tree/main/typescript) for agents,
60
+ [examples](https://github.com/maxanstey-meridian/tandem-ts/tree/main/examples) for agents,
60
61
  capabilities, interactions, persistence, and complete examples.
61
62
 
62
63
  Licensed under the [MIT License](./LICENSE).
64
+
65
+ For a specialised model that requires a plain user message, a raw-output agent
66
+ can set both `instructions` and `output.instructions` to `""`. Tandem then sends
67
+ the authored message without system instructions or a response-format constraint.
68
+ Other agent/output modes still require nonblank instructions.
69
+
70
+ ## Development and publishing
71
+
72
+ ```sh
73
+ pnpm install
74
+ pnpm build
75
+ pnpm test
76
+ npm pack
77
+ ```
78
+
79
+ `npm pack` and `npm publish` build fresh output before packaging. The npm package contains
80
+ `dist`, including one copy of the vendored bridge in `dist/runtime`. Update `runtime` from
81
+ a tested Tandem bridge build before releasing runtime changes.
package/dist/index.js CHANGED
@@ -576,7 +576,10 @@ class AgentImplementation extends NodeImplementation {
576
576
  }
577
577
  }
578
578
  export function agent(definition) {
579
- requireInstructions(definition.instructions, `Agent '${definition.id}' instructions`);
579
+ const rawOutput = definition.output && "raw" in definition.output && definition.output.raw === true;
580
+ if (!rawOutput || typeof definition.instructions !== "string") {
581
+ requireInstructions(definition.instructions, `Agent '${definition.id}' instructions`);
582
+ }
580
583
  const reasoningEffort = definition.reasoning?.effort;
581
584
  const reasoningMaxTokens = definition.reasoning?.maxTokens;
582
585
  if (definition.reasoning &&
@@ -595,7 +598,9 @@ export function agent(definition) {
595
598
  }
596
599
  }
597
600
  if (definition.output) {
598
- requireInstructions(definition.output.instructions, `Agent '${definition.id}' output instructions`);
601
+ if (!rawOutput || typeof definition.output.instructions !== "string") {
602
+ requireInstructions(definition.output.instructions, `Agent '${definition.id}' output instructions`);
603
+ }
599
604
  if ("raw" in definition.output) {
600
605
  if (definition.output.raw !== true) {
601
606
  throw new TandemError(`Agent '${definition.id}' output raw must be true.`);
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -9,16 +9,21 @@
9
9
  ".NETCoreApp,Version=v10.0/osx-arm64": {
10
10
  "Tandem.NodeApiSpike.Bridge/0.1.0": {
11
11
  "dependencies": {
12
- "Meridian.Tandem": "0.1.1",
13
- "Meridian.Tandem.Advanced": "0.1.1",
14
- "Meridian.Tandem.Ledger": "0.1.1",
15
- "Meridian.Tandem.OpenAICompatible": "0.1.1",
16
- "Meridian.Tandem.Terminal": "0.1.1",
12
+ "Meridian.Tandem": "0.1.0",
13
+ "Meridian.Tandem.Advanced": "0.1.0",
14
+ "Meridian.Tandem.Ledger": "0.1.0",
15
+ "Meridian.Tandem.OpenAICompatible": "0.1.0",
16
+ "Meridian.Tandem.Terminal": "0.1.0",
17
17
  "Microsoft.Extensions.AI.OpenAI": "10.8.3",
18
18
  "Microsoft.JavaScript.NodeApi": "0.9.26",
19
19
  "Microsoft.JavaScript.NodeApi.Generator": "0.9.26",
20
20
  "OpenAI": "2.12.0",
21
- "System.ClientModel": "1.14.0"
21
+ "System.ClientModel": "1.14.0",
22
+ "Tandem.Advanced": "0.1.0.0",
23
+ "Tandem": "0.1.0.0",
24
+ "Tandem.Ledger": "0.1.0.0",
25
+ "Tandem.OpenAICompatible": "0.1.0.0",
26
+ "Tandem.Terminal": "0.1.0.0"
22
27
  },
23
28
  "runtime": {
24
29
  "Tandem.NodeApiSpike.Bridge.dll": {}
@@ -91,75 +96,6 @@
91
96
  }
92
97
  }
93
98
  },
94
- "Meridian.Tandem/0.1.1": {
95
- "dependencies": {
96
- "FluentValidation": "12.1.1",
97
- "JsonSchema.Net.Generation": "7.3.11",
98
- "Microsoft.Agents.AI": "1.16.0",
99
- "Microsoft.Agents.AI.Workflows": "1.16.0",
100
- "Microsoft.Extensions.AI": "10.8.3"
101
- },
102
- "runtime": {
103
- "lib/net10.0/Tandem.dll": {
104
- "assemblyVersion": "0.1.1.0",
105
- "fileVersion": "0.1.1.0"
106
- }
107
- }
108
- },
109
- "Meridian.Tandem.Advanced/0.1.1": {
110
- "dependencies": {
111
- "FluentValidation": "12.1.1",
112
- "Meridian.Tandem": "0.1.1",
113
- "Microsoft.Agents.AI.Harness": "1.16.0",
114
- "Microsoft.Agents.AI.Tools.Shell": "1.16.0-preview.260730.1",
115
- "Microsoft.Extensions.AI": "10.8.3",
116
- "Tavily": "1.0.1"
117
- },
118
- "runtime": {
119
- "lib/net10.0/Tandem.Advanced.dll": {
120
- "assemblyVersion": "0.1.1.0",
121
- "fileVersion": "0.1.1.0"
122
- }
123
- }
124
- },
125
- "Meridian.Tandem.Ledger/0.1.1": {
126
- "dependencies": {
127
- "Meridian.Tandem": "0.1.1",
128
- "Microsoft.Data.Sqlite": "10.0.10",
129
- "SQLitePCLRaw.bundle_e_sqlite3": "2.1.12"
130
- },
131
- "runtime": {
132
- "lib/net10.0/Tandem.Ledger.dll": {
133
- "assemblyVersion": "0.1.1.0",
134
- "fileVersion": "0.1.1.0"
135
- }
136
- }
137
- },
138
- "Meridian.Tandem.OpenAICompatible/0.1.1": {
139
- "dependencies": {
140
- "Microsoft.Extensions.AI": "10.8.3",
141
- "OpenAI": "2.12.0",
142
- "System.ClientModel": "1.14.0"
143
- },
144
- "runtime": {
145
- "lib/net10.0/Tandem.OpenAICompatible.dll": {
146
- "assemblyVersion": "0.1.1.0",
147
- "fileVersion": "0.1.1.0"
148
- }
149
- }
150
- },
151
- "Meridian.Tandem.Terminal/0.1.1": {
152
- "dependencies": {
153
- "Meridian.Tandem": "0.1.1",
154
- "Spectre.Console": "0.57.2"
155
- },
156
- "runtime": {
157
- "lib/net10.0/Tandem.Terminal.dll": {
158
- "assemblyVersion": "0.1.1.0",
159
- "fileVersion": "0.1.1.0"
160
- }
161
- }
162
- },
163
99
  "Microsoft.Agents.AI/1.16.0": {
164
100
  "dependencies": {
165
101
  "Microsoft.Agents.AI.Abstractions": "1.16.0",
@@ -706,6 +642,115 @@
706
642
  "fileVersion": "1.0.1.0"
707
643
  }
708
644
  }
645
+ },
646
+ "Meridian.Tandem/0.1.0": {
647
+ "dependencies": {
648
+ "FluentValidation": "12.1.1",
649
+ "JsonSchema.Net.Generation": "7.3.11",
650
+ "Microsoft.Agents.AI": "1.16.0",
651
+ "Microsoft.Agents.AI.Workflows": "1.16.0",
652
+ "Microsoft.Extensions.AI": "10.8.3"
653
+ },
654
+ "runtime": {
655
+ "Tandem.dll": {
656
+ "assemblyVersion": "0.1.0.0",
657
+ "fileVersion": "0.1.0.0"
658
+ }
659
+ }
660
+ },
661
+ "Meridian.Tandem.Advanced/0.1.0": {
662
+ "dependencies": {
663
+ "FluentValidation": "12.1.1",
664
+ "Meridian.Tandem": "0.1.0",
665
+ "Microsoft.Agents.AI.Harness": "1.16.0",
666
+ "Microsoft.Agents.AI.Tools.Shell": "1.16.0-preview.260730.1",
667
+ "Microsoft.Extensions.AI": "10.8.3",
668
+ "Tavily": "1.0.1"
669
+ },
670
+ "runtime": {
671
+ "Tandem.Advanced.dll": {
672
+ "assemblyVersion": "0.1.0.0",
673
+ "fileVersion": "0.1.0.0"
674
+ }
675
+ }
676
+ },
677
+ "Meridian.Tandem.Ledger/0.1.0": {
678
+ "dependencies": {
679
+ "Meridian.Tandem": "0.1.0",
680
+ "Microsoft.Data.Sqlite": "10.0.10",
681
+ "SQLitePCLRaw.bundle_e_sqlite3": "2.1.12"
682
+ },
683
+ "runtime": {
684
+ "Tandem.Ledger.dll": {
685
+ "assemblyVersion": "0.1.0.0",
686
+ "fileVersion": "0.1.0.0"
687
+ }
688
+ }
689
+ },
690
+ "Meridian.Tandem.OpenAICompatible/0.1.0": {
691
+ "dependencies": {
692
+ "Microsoft.Extensions.AI": "10.8.3",
693
+ "OpenAI": "2.12.0",
694
+ "System.ClientModel": "1.14.0"
695
+ },
696
+ "runtime": {
697
+ "Tandem.OpenAICompatible.dll": {
698
+ "assemblyVersion": "0.1.0.0",
699
+ "fileVersion": "0.1.0.0"
700
+ }
701
+ }
702
+ },
703
+ "Meridian.Tandem.Terminal/0.1.0": {
704
+ "dependencies": {
705
+ "Meridian.Tandem": "0.1.0",
706
+ "Spectre.Console": "0.57.2"
707
+ },
708
+ "runtime": {
709
+ "Tandem.Terminal.dll": {
710
+ "assemblyVersion": "0.1.0.0",
711
+ "fileVersion": "0.1.0.0"
712
+ }
713
+ }
714
+ },
715
+ "Tandem.Advanced/0.1.0.0": {
716
+ "runtime": {
717
+ "Tandem.Advanced.dll": {
718
+ "assemblyVersion": "0.1.0.0",
719
+ "fileVersion": "0.1.0.0"
720
+ }
721
+ }
722
+ },
723
+ "Tandem/0.1.0.0": {
724
+ "runtime": {
725
+ "Tandem.dll": {
726
+ "assemblyVersion": "0.1.0.0",
727
+ "fileVersion": "0.1.0.0"
728
+ }
729
+ }
730
+ },
731
+ "Tandem.Ledger/0.1.0.0": {
732
+ "runtime": {
733
+ "Tandem.Ledger.dll": {
734
+ "assemblyVersion": "0.1.0.0",
735
+ "fileVersion": "0.1.0.0"
736
+ }
737
+ }
738
+ },
739
+ "Tandem.OpenAICompatible/0.1.0.0": {
740
+ "runtime": {
741
+ "Tandem.OpenAICompatible.dll": {
742
+ "assemblyVersion": "0.1.0.0",
743
+ "fileVersion": "0.1.0.0"
744
+ }
745
+ }
746
+ },
747
+ "Tandem.Terminal/0.1.0.0": {
748
+ "runtime": {
749
+ "Tandem.Terminal.dll": {
750
+ "assemblyVersion": "0.1.0.0",
751
+ "fileVersion": "0.1.0.0"
752
+ }
753
+ }
709
754
  }
710
755
  }
711
756
  },
@@ -764,41 +809,6 @@
764
809
  "path": "jsonschema.net.generation/7.3.11",
765
810
  "hashPath": "jsonschema.net.generation.7.3.11.nupkg.sha512"
766
811
  },
767
- "Meridian.Tandem/0.1.1": {
768
- "type": "package",
769
- "serviceable": true,
770
- "sha512": "sha512-Ni1emY3AuWK2QpUk1reP4HGGQwQHCekJznUACiZF1wN8wEW6MBj3E8XCDQHkypjMRn3m30VoR+0z2o/iAk1rrQ==",
771
- "path": "meridian.tandem/0.1.1",
772
- "hashPath": "meridian.tandem.0.1.1.nupkg.sha512"
773
- },
774
- "Meridian.Tandem.Advanced/0.1.1": {
775
- "type": "package",
776
- "serviceable": true,
777
- "sha512": "sha512-lV2SxoyW5VyJqzeyJiGmntFWGbkoR8AHLk8xfzFxmLWzcvt3iHrxhCBSyw7z0qkhEiqmCug8INvJAmXMMBSl7w==",
778
- "path": "meridian.tandem.advanced/0.1.1",
779
- "hashPath": "meridian.tandem.advanced.0.1.1.nupkg.sha512"
780
- },
781
- "Meridian.Tandem.Ledger/0.1.1": {
782
- "type": "package",
783
- "serviceable": true,
784
- "sha512": "sha512-CW/xuSvS+00nZVz0jsdNWoUij7/ybtLB9L91zRr1JiGkw2C+jBd3wE1efdFAtDtNOdlVsW/aGRqyr1AOBkwitA==",
785
- "path": "meridian.tandem.ledger/0.1.1",
786
- "hashPath": "meridian.tandem.ledger.0.1.1.nupkg.sha512"
787
- },
788
- "Meridian.Tandem.OpenAICompatible/0.1.1": {
789
- "type": "package",
790
- "serviceable": true,
791
- "sha512": "sha512-BhHYOt3xa8FLLm8gIgbVAJV6rmntnRtF4QSIXggGnXTQlogvbrbkXydiT/0HIS2y4lf+01Zgo2Lu3gVnFCoQ3A==",
792
- "path": "meridian.tandem.openaicompatible/0.1.1",
793
- "hashPath": "meridian.tandem.openaicompatible.0.1.1.nupkg.sha512"
794
- },
795
- "Meridian.Tandem.Terminal/0.1.1": {
796
- "type": "package",
797
- "serviceable": true,
798
- "sha512": "sha512-rKlMCJ3Oic1hw/j4RLo8Lk3dwPNCFohQPiCJ2b4Ts0QB7hC29Ioa0ROyPL5Lj/8SWIFY1BT16rLtC6NwGorpww==",
799
- "path": "meridian.tandem.terminal/0.1.1",
800
- "hashPath": "meridian.tandem.terminal.0.1.1.nupkg.sha512"
801
- },
802
812
  "Microsoft.Agents.AI/1.16.0": {
803
813
  "type": "package",
804
814
  "serviceable": true,
@@ -1092,6 +1102,56 @@
1092
1102
  "sha512": "sha512-WI1vRoVkNzeGU1ZMiccBI6hvGjzJWQlJJDOAuk7bUvZ6SpDBFvOHieGbTe6OnBl7H1+0hhQflbcV0YqNMtAtBw==",
1093
1103
  "path": "tavily/1.0.1",
1094
1104
  "hashPath": "tavily.1.0.1.nupkg.sha512"
1105
+ },
1106
+ "Meridian.Tandem/0.1.0": {
1107
+ "type": "project",
1108
+ "serviceable": false,
1109
+ "sha512": ""
1110
+ },
1111
+ "Meridian.Tandem.Advanced/0.1.0": {
1112
+ "type": "project",
1113
+ "serviceable": false,
1114
+ "sha512": ""
1115
+ },
1116
+ "Meridian.Tandem.Ledger/0.1.0": {
1117
+ "type": "project",
1118
+ "serviceable": false,
1119
+ "sha512": ""
1120
+ },
1121
+ "Meridian.Tandem.OpenAICompatible/0.1.0": {
1122
+ "type": "project",
1123
+ "serviceable": false,
1124
+ "sha512": ""
1125
+ },
1126
+ "Meridian.Tandem.Terminal/0.1.0": {
1127
+ "type": "project",
1128
+ "serviceable": false,
1129
+ "sha512": ""
1130
+ },
1131
+ "Tandem.Advanced/0.1.0.0": {
1132
+ "type": "reference",
1133
+ "serviceable": false,
1134
+ "sha512": ""
1135
+ },
1136
+ "Tandem/0.1.0.0": {
1137
+ "type": "reference",
1138
+ "serviceable": false,
1139
+ "sha512": ""
1140
+ },
1141
+ "Tandem.Ledger/0.1.0.0": {
1142
+ "type": "reference",
1143
+ "serviceable": false,
1144
+ "sha512": ""
1145
+ },
1146
+ "Tandem.OpenAICompatible/0.1.0.0": {
1147
+ "type": "reference",
1148
+ "serviceable": false,
1149
+ "sha512": ""
1150
+ },
1151
+ "Tandem.Terminal/0.1.0.0": {
1152
+ "type": "reference",
1153
+ "serviceable": false,
1154
+ "sha512": ""
1095
1155
  }
1096
1156
  }
1097
1157
  }
Binary file
Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ // This module wraps the ES import keyword in a CommonJS function,
2
+ // to enable directly importing ES modules into .NET.
3
+ module.exports = function importModule(modulePath) { return import(modulePath); };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxanstey-meridian/tandem",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "TypeScript authoring API for Tandem agentic pipelines",
5
5
  "homepage": "https://github.com/maxanstey-meridian/tandem-ts#readme",
6
6
  "license": "MIT",
@@ -9,11 +9,7 @@
9
9
  "url": "git+https://github.com/maxanstey-meridian/tandem-ts.git"
10
10
  },
11
11
  "files": [
12
- "dist",
13
- "runtime",
14
- "scripts",
15
- "src",
16
- "tsconfig.json"
12
+ "dist"
17
13
  ],
18
14
  "type": "module",
19
15
  "exports": {
@@ -30,15 +26,13 @@
30
26
  "access": "public"
31
27
  },
32
28
  "scripts": {
33
- "postinstall": "node scripts/install-runtime.mjs && tsc -p tsconfig.json && cp -R runtime/. dist/runtime/",
34
- "build": "tsc -p tsconfig.json && mkdir -p dist/runtime && cp -R runtime/. dist/runtime/",
29
+ "build": "rm -rf dist && tsc -p tsconfig.json && mkdir -p dist/runtime && cp -R runtime/. dist/runtime/",
35
30
  "typecheck": "tsc -p tsconfig.json --noEmit",
36
- "test": "node --import tsx --test --test-concurrency=1 tests/*.test.mjs"
31
+ "test": "node --import tsx --test --test-concurrency=1 tests/*.test.mjs",
32
+ "prepack": "npm run build"
37
33
  },
38
34
  "dependencies": {
39
- "@types/node": "^24.10.1",
40
- "node-api-dotnet": "0.9.26",
41
- "typescript": "^5.9.3"
35
+ "node-api-dotnet": "0.9.26"
42
36
  },
43
37
  "devDependencies": {
44
38
  "@types/node": "^24.10.1",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file