@maxanstey-meridian/tandem 0.1.0-alpha.1 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +19 -6
- package/runtime/FluentValidation.dll +0 -0
- package/runtime/Google.Protobuf.dll +0 -0
- package/runtime/Microsoft.Agents.AI.Abstractions.dll +0 -0
- package/runtime/Microsoft.Agents.AI.Harness.dll +0 -0
- package/runtime/Microsoft.Agents.AI.Tools.Shell.dll +0 -0
- package/runtime/Microsoft.Agents.AI.Workflows.dll +0 -0
- package/runtime/Microsoft.Agents.AI.dll +0 -0
- package/runtime/Microsoft.CodeAnalysis.CSharp.dll +0 -0
- package/runtime/Microsoft.CodeAnalysis.dll +0 -0
- package/runtime/Microsoft.Data.Sqlite.dll +0 -0
- package/runtime/Microsoft.Extensions.AI.Abstractions.dll +0 -0
- package/runtime/Microsoft.Extensions.AI.Evaluation.dll +0 -0
- package/runtime/Microsoft.Extensions.AI.OpenAI.dll +0 -0
- package/runtime/Microsoft.Extensions.AI.dll +0 -0
- package/runtime/Microsoft.Extensions.Caching.Abstractions.dll +0 -0
- package/runtime/Microsoft.Extensions.Compliance.Abstractions.dll +0 -0
- package/runtime/Microsoft.Extensions.Configuration.Abstractions.dll +0 -0
- package/runtime/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
- package/runtime/Microsoft.Extensions.Diagnostics.Abstractions.dll +0 -0
- package/runtime/Microsoft.Extensions.FileProviders.Abstractions.dll +0 -0
- package/runtime/Microsoft.Extensions.FileSystemGlobbing.dll +0 -0
- package/runtime/Microsoft.Extensions.Hosting.Abstractions.dll +0 -0
- package/runtime/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- package/runtime/Microsoft.Extensions.ObjectPool.dll +0 -0
- package/runtime/Microsoft.Extensions.Options.dll +0 -0
- package/runtime/Microsoft.Extensions.Primitives.dll +0 -0
- package/runtime/Microsoft.Extensions.VectorData.Abstractions.dll +0 -0
- package/runtime/Microsoft.JavaScript.NodeApi.dll +0 -0
- package/runtime/Microsoft.ML.Tokenizers.dll +0 -0
- package/runtime/OpenAI.dll +0 -0
- package/runtime/OpenTelemetry.Api.dll +0 -0
- package/runtime/SQLitePCLRaw.batteries_v2.dll +0 -0
- package/runtime/SQLitePCLRaw.core.dll +0 -0
- package/runtime/SQLitePCLRaw.provider.e_sqlite3.dll +0 -0
- package/runtime/Spectre.Console.Ansi.dll +0 -0
- package/runtime/Spectre.Console.dll +0 -0
- package/runtime/System.ClientModel.dll +0 -0
- package/runtime/System.Memory.Data.dll +0 -0
- package/runtime/System.Numerics.Tensors.dll +0 -0
- package/runtime/System.Reflection.MetadataLoadContext.dll +0 -0
- package/runtime/Tandem.Advanced.dll +0 -0
- package/runtime/Tandem.Ledger.dll +0 -0
- package/runtime/Tandem.NodeApiSpike.Bridge.cjs +26 -0
- package/runtime/Tandem.NodeApiSpike.Bridge.d.ts +23 -0
- package/runtime/Tandem.NodeApiSpike.Bridge.deps.json +1097 -0
- package/runtime/Tandem.NodeApiSpike.Bridge.dll +0 -0
- package/runtime/Tandem.NodeApiSpike.Bridge.mjs +31 -0
- package/runtime/Tandem.NodeApiSpike.Bridge.runtimeconfig.json +13 -0
- package/runtime/Tandem.OpenAICompatible.dll +0 -0
- package/runtime/Tandem.Terminal.dll +0 -0
- package/runtime/Tandem.dll +0 -0
- package/runtime/libe_sqlite3.dylib +0 -0
- package/runtime/loader.d.mts +10 -0
- package/runtime/loader.mjs +35 -0
- package/scripts/install-runtime.mjs +75 -0
- package/src/cli.ts +72 -0
- package/src/index.ts +2096 -0
- package/src/runtime/loader.d.mts +10 -0
- package/tsconfig.json +14 -0
- package/dist/cli.d.ts +0 -5
- package/dist/cli.js +0 -60
- package/dist/index.d.ts +0 -346
- package/dist/index.js +0 -1291
package/package.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxanstey-meridian/tandem",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "TypeScript authoring API for Tandem agentic pipelines",
|
|
5
|
-
"homepage": "https://github.com/maxanstey-meridian/tandem#readme",
|
|
5
|
+
"homepage": "https://github.com/maxanstey-meridian/tandem-ts#readme",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/maxanstey-meridian/tandem.git"
|
|
10
|
-
"directory": "typescript/packages/sdk"
|
|
9
|
+
"url": "git+https://github.com/maxanstey-meridian/tandem-ts.git"
|
|
11
10
|
},
|
|
12
11
|
"files": [
|
|
13
|
-
"
|
|
12
|
+
"src",
|
|
13
|
+
"scripts",
|
|
14
|
+
"runtime",
|
|
15
|
+
"tsconfig.json"
|
|
14
16
|
],
|
|
15
17
|
"type": "module",
|
|
16
18
|
"exports": {
|
|
@@ -26,10 +28,21 @@
|
|
|
26
28
|
"publishConfig": {
|
|
27
29
|
"access": "public"
|
|
28
30
|
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"postinstall": "node scripts/install-runtime.mjs && tsc -p tsconfig.json && cp -R runtime/. dist/runtime/",
|
|
33
|
+
"build": "tsc -p tsconfig.json && mkdir -p dist/runtime && cp -R runtime/. dist/runtime/",
|
|
34
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
35
|
+
"test": "node --import tsx --test --test-concurrency=1 tests/*.test.mjs"
|
|
36
|
+
},
|
|
29
37
|
"dependencies": {
|
|
30
|
-
"@
|
|
38
|
+
"@types/node": "^24.10.1",
|
|
39
|
+
"node-api-dotnet": "0.9.26",
|
|
40
|
+
"typescript": "^5.9.3"
|
|
31
41
|
},
|
|
32
42
|
"devDependencies": {
|
|
43
|
+
"@types/node": "^24.10.1",
|
|
44
|
+
"tsx": "^4.20.6",
|
|
45
|
+
"typescript": "^5.9.3",
|
|
33
46
|
"zod": "^4.3.6"
|
|
34
47
|
},
|
|
35
48
|
"peerDependencies": {
|
|
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
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Generated for: Tandem.NodeApiSpike.Bridge 0.1.0.0
|
|
2
|
+
// Generated by: Microsoft.JavaScript.NodeApi.Generator 0.9.0.0
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
const dotnet = require('node-api-dotnet/net10.0');
|
|
6
|
+
const path = require('node:path');
|
|
7
|
+
// @ts-ignore - https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/65252
|
|
8
|
+
const { dlopen, platform, arch } = require('node:process');
|
|
9
|
+
|
|
10
|
+
const moduleName = path.basename(__filename, __filename.match(/(\.[cm]?js)?$/)[0]);
|
|
11
|
+
module.exports = dotnet ? importDotnetModule(moduleName) : importAotModule(moduleName);
|
|
12
|
+
|
|
13
|
+
function importDotnetModule(moduleName) {
|
|
14
|
+
const moduleFilePath = path.join(__dirname, moduleName + '.dll');
|
|
15
|
+
return dotnet.require(moduleFilePath);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function importAotModule(moduleName) {
|
|
19
|
+
const ridPlatform = platform === 'win32' ? 'win' : platform === 'darwin' ? 'osx' : platform;
|
|
20
|
+
const ridArch = arch === 'ia32' ? 'x86' : arch;
|
|
21
|
+
const rid = `${ridPlatform}-${ridArch}`;
|
|
22
|
+
const moduleFilePath = path.join(__dirname, rid, moduleName + '.node');
|
|
23
|
+
const module = { exports: {} };
|
|
24
|
+
dlopen(module, moduleFilePath);
|
|
25
|
+
return module.exports;
|
|
26
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Generated for: Tandem.NodeApiSpike.Bridge 0.1.0.0
|
|
2
|
+
// Generated by: Microsoft.JavaScript.NodeApi.Generator 0.9.0.0
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import './System.Runtime';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/** Adapts JavaScript-authored participants to the Tandem runtime. */
|
|
9
|
+
export namespace NodePipelineBridge {
|
|
10
|
+
/** Reads accepted semantic journal values from a packaged SQLite ledger. */
|
|
11
|
+
export function inspectAcceptedAsync(
|
|
12
|
+
ledgerPath: string,
|
|
13
|
+
runId: string,
|
|
14
|
+
): Promise<string>;
|
|
15
|
+
|
|
16
|
+
/** Registers and runs a complete JavaScript-authored Tandem graph. */
|
|
17
|
+
export function runRegisteredGraphAsync(
|
|
18
|
+
definitionJson: string,
|
|
19
|
+
invokeSyncCallback: Func$4<string, string, string, string>,
|
|
20
|
+
invokeAsyncCallback: Func$5<string, string, string, AbortSignal, Promise<string>>,
|
|
21
|
+
cancellationToken?: AbortSignal,
|
|
22
|
+
): Promise<string>;
|
|
23
|
+
}
|