@tangle-network/sandbox 0.12.2-develop.20260726034003.c2b79f5 → 0.13.0-develop.20260726072320.8402d7e
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/README.md +8 -8
- package/dist/agent/index.d.ts +3 -3
- package/dist/{client-BjkNkFl7.d.ts → client-BDejoJQR.d.ts} +2 -2
- package/dist/{client-B1cU2xzD.js → client-DS8qSxCp.js} +17 -109
- package/dist/core.d.ts +3 -3
- package/dist/core.js +2 -2
- package/dist/{index-DHhxHd85.d.ts → index-DwjU-4s_.d.ts} +2 -2
- package/dist/index.d.ts +9 -42
- package/dist/index.js +95 -19
- package/dist/{runtime-api-XhAv6YiH.js → runtime-api-BFtk4_HK.js} +1 -11
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/dist/{sandbox-eH5LS4U_.d.ts → sandbox-CxflW4z4.d.ts} +11 -36
- package/dist/{sandbox-D77F7Yja.js → sandbox-DXuuroty.js} +10 -41
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-DpxmcNGp.js → tangle-46aLycNc.js} +2 -2
- package/dist/{types-Dph9_dE4.d.ts → types-DFYV3JSL.d.ts} +34 -221
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentProfile
|
|
1
|
+
import { AgentProfile, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileValidationResult } from "@tangle-network/agent-interface";
|
|
2
2
|
|
|
3
3
|
//#region src/terminal-stream.d.ts
|
|
4
4
|
/**
|
|
@@ -508,50 +508,6 @@ interface GitConfig {
|
|
|
508
508
|
/** Authentication for private repositories */
|
|
509
509
|
auth?: GitAuth;
|
|
510
510
|
}
|
|
511
|
-
/**
|
|
512
|
-
* Tool version specifications for mise (polyglot version manager).
|
|
513
|
-
*
|
|
514
|
-
* Mise is pre-installed in all managed sandboxes and can install any
|
|
515
|
-
* language runtime or tool on demand. Specify versions here to have
|
|
516
|
-
* them pre-installed when the sandbox starts.
|
|
517
|
-
*
|
|
518
|
-
* @see https://mise.jdx.dev for supported tools
|
|
519
|
-
*
|
|
520
|
-
* @example Common tools
|
|
521
|
-
* ```typescript
|
|
522
|
-
* const tools: ToolsConfig = {
|
|
523
|
-
* node: "22", // Node.js 22.x (latest minor/patch)
|
|
524
|
-
* python: "3.12", // Python 3.12.x
|
|
525
|
-
* rust: "1.75", // Rust 1.75.x
|
|
526
|
-
* go: "1.22", // Go 1.22.x
|
|
527
|
-
* };
|
|
528
|
-
* ```
|
|
529
|
-
*
|
|
530
|
-
* @example Exact versions
|
|
531
|
-
* ```typescript
|
|
532
|
-
* const tools: ToolsConfig = {
|
|
533
|
-
* node: "20.11.0", // Exact version
|
|
534
|
-
* pnpm: "8.15.1",
|
|
535
|
-
* deno: "1.40",
|
|
536
|
-
* };
|
|
537
|
-
* ```
|
|
538
|
-
*/
|
|
539
|
-
interface ToolsConfig {
|
|
540
|
-
/** Node.js version (e.g., "22", "20.11.0", "lts") */
|
|
541
|
-
node?: string;
|
|
542
|
-
/** Python version (e.g., "3.12", "3.11.7") */
|
|
543
|
-
python?: string;
|
|
544
|
-
/** Rust version (e.g., "1.75", "stable", "nightly") */
|
|
545
|
-
rust?: string;
|
|
546
|
-
/** Go version (e.g., "1.22", "1.21.6") */
|
|
547
|
-
go?: string;
|
|
548
|
-
/** Java version (e.g., "21", "17") */
|
|
549
|
-
java?: string;
|
|
550
|
-
/** Ruby version (e.g., "3.3", "3.2.2") */
|
|
551
|
-
ruby?: string;
|
|
552
|
-
/** Any other mise-supported tool and version */
|
|
553
|
-
[tool: string]: string | undefined;
|
|
554
|
-
}
|
|
555
511
|
/**
|
|
556
512
|
* Configuration for initializing the Sandbox client.
|
|
557
513
|
*
|
|
@@ -613,8 +569,6 @@ interface SandboxResources {
|
|
|
613
569
|
/** Accelerator request for GPU-class workloads. */
|
|
614
570
|
accelerator?: SandboxAccelerator;
|
|
615
571
|
}
|
|
616
|
-
/** @deprecated Use SandboxAccelerator.kind via SandboxResources.accelerator. */
|
|
617
|
-
type GpuType = string;
|
|
618
572
|
/**
|
|
619
573
|
* Configuration for creating a new sandbox.
|
|
620
574
|
*
|
|
@@ -631,28 +585,26 @@ type GpuType = string;
|
|
|
631
585
|
* @example Sandbox with pre-built image and git
|
|
632
586
|
* ```typescript
|
|
633
587
|
* const box = await client.create({
|
|
634
|
-
*
|
|
588
|
+
* environment: "ethereum", // Stack name — tools provisioned via Nix profile
|
|
635
589
|
* git: {
|
|
636
590
|
* url: "https://github.com/user/dapp.git",
|
|
637
591
|
* ref: "main",
|
|
638
592
|
* },
|
|
639
|
-
* tools: { node: "22", python: "3.12" },
|
|
640
593
|
* });
|
|
641
594
|
* ```
|
|
642
595
|
*
|
|
643
596
|
* @example Sandbox with custom Docker image
|
|
644
597
|
* ```typescript
|
|
645
598
|
* const box = await client.create({
|
|
646
|
-
*
|
|
599
|
+
* environment: "python:3.12-slim",
|
|
647
600
|
* git: { url: "https://github.com/user/ml-project.git" },
|
|
648
|
-
* tools: { python: "3.12" },
|
|
649
601
|
* });
|
|
650
602
|
* ```
|
|
651
603
|
*
|
|
652
604
|
* @example Bare sandbox (no managed runtime, just exec)
|
|
653
605
|
* ```typescript
|
|
654
606
|
* const box = await client.create({
|
|
655
|
-
*
|
|
607
|
+
* environment: "ubuntu:24.04",
|
|
656
608
|
* bare: true,
|
|
657
609
|
* });
|
|
658
610
|
* // Only box.exec(), box.stop(), box.resume(), box.delete() available
|
|
@@ -661,7 +613,7 @@ type GpuType = string;
|
|
|
661
613
|
* @example With BYOS3 storage for snapshots
|
|
662
614
|
* ```typescript
|
|
663
615
|
* const box = await client.create({
|
|
664
|
-
*
|
|
616
|
+
* environment: "universal",
|
|
665
617
|
* storage: {
|
|
666
618
|
* type: "s3",
|
|
667
619
|
* bucket: "my-snapshots",
|
|
@@ -673,13 +625,13 @@ type GpuType = string;
|
|
|
673
625
|
*/
|
|
674
626
|
interface CreateSandboxOptions {
|
|
675
627
|
/**
|
|
676
|
-
*
|
|
628
|
+
* Environment or container image to run.
|
|
677
629
|
*
|
|
678
|
-
*
|
|
679
|
-
*
|
|
680
|
-
*
|
|
630
|
+
* Pass a named environment returned by `client.environments.list()`, a
|
|
631
|
+
* container image reference such as `"python:3.12-slim"`, or an image ID
|
|
632
|
+
* returned by the SDK image builder.
|
|
681
633
|
*
|
|
682
|
-
*
|
|
634
|
+
* When omitted, the server applies its default environment.
|
|
683
635
|
*
|
|
684
636
|
* @example
|
|
685
637
|
* ```typescript
|
|
@@ -687,22 +639,6 @@ interface CreateSandboxOptions {
|
|
|
687
639
|
* ```
|
|
688
640
|
*/
|
|
689
641
|
environment?: string;
|
|
690
|
-
/**
|
|
691
|
-
* Container image to use for the sandbox.
|
|
692
|
-
*
|
|
693
|
-
* For most use cases the default "universal" environment is sufficient.
|
|
694
|
-
* Use this field for custom images; the SDK runtime integration is applied
|
|
695
|
-
* automatically.
|
|
696
|
-
*
|
|
697
|
-
* **Resolution rules:**
|
|
698
|
-
* - Full image paths → Used as-is
|
|
699
|
-
* - Simple names without `/` or `:` → Treated as environment name
|
|
700
|
-
* (equivalent to setting `environment`)
|
|
701
|
-
*
|
|
702
|
-
* When neither `environment` nor `image` is set the SDK omits the
|
|
703
|
-
* field entirely and the server applies its own default.
|
|
704
|
-
*/
|
|
705
|
-
image?: string;
|
|
706
642
|
/**
|
|
707
643
|
* Create a bare sandbox without the managed runtime.
|
|
708
644
|
*
|
|
@@ -727,24 +663,6 @@ interface CreateSandboxOptions {
|
|
|
727
663
|
* @default true
|
|
728
664
|
*/
|
|
729
665
|
agent?: boolean;
|
|
730
|
-
/**
|
|
731
|
-
* Provision a public preview URL for this sandbox (the default). Set to
|
|
732
|
-
* `false` for the fast lane: the server skips the public-edge tunnel
|
|
733
|
-
* (public URL allocation, tunnel readiness, and scarce public IP capacity),
|
|
734
|
-
* which is the largest single term in create latency. Use it for workloads
|
|
735
|
-
* that reach the sandbox only through the SDK / exec — benchmark fleets, CI,
|
|
736
|
-
* RL rollouts — where no browser-facing URL is needed. `exec()`, streaming,
|
|
737
|
-
* `stop`/`resume`/`branch` are unaffected; only the public preview URL is
|
|
738
|
-
* absent. Omit (or leave `true`) for interactive sandboxes.
|
|
739
|
-
*
|
|
740
|
-
* @default true
|
|
741
|
-
* @example
|
|
742
|
-
* ```typescript
|
|
743
|
-
* // 1000-way benchmark fork — no preview URLs, faster + no subnet pressure
|
|
744
|
-
* await client.sandboxes.create({ publicEdge: false })
|
|
745
|
-
* ```
|
|
746
|
-
*/
|
|
747
|
-
publicEdge?: boolean;
|
|
748
666
|
/**
|
|
749
667
|
* Infrastructure driver selection.
|
|
750
668
|
* Controls how the sandbox is provisioned and isolated.
|
|
@@ -773,36 +691,6 @@ interface CreateSandboxOptions {
|
|
|
773
691
|
* fields; operators that cannot satisfy the requested TEE fail closed.
|
|
774
692
|
*/
|
|
775
693
|
confidential?: AgentProfileConfidential;
|
|
776
|
-
/**
|
|
777
|
-
* Initial permissions and access control settings.
|
|
778
|
-
*
|
|
779
|
-
* @example Multi-user sandbox
|
|
780
|
-
* ```typescript
|
|
781
|
-
* permissions: {
|
|
782
|
-
* defaultRole: "developer",
|
|
783
|
-
* initialUsers: [{ userId: "user_xyz", role: "developer" }],
|
|
784
|
-
* }
|
|
785
|
-
* ```
|
|
786
|
-
*/
|
|
787
|
-
permissions?: SandboxPermissionsConfig;
|
|
788
|
-
/**
|
|
789
|
-
* Network security configuration.
|
|
790
|
-
* Controls outbound network access from the sandbox.
|
|
791
|
-
*
|
|
792
|
-
* @example Block all outbound traffic
|
|
793
|
-
* ```typescript
|
|
794
|
-
* network: { blockOutbound: true }
|
|
795
|
-
* ```
|
|
796
|
-
*
|
|
797
|
-
* @example Allow only specific destinations
|
|
798
|
-
* ```typescript
|
|
799
|
-
* network: {
|
|
800
|
-
* allowList: ["8.8.8.8/32", "10.0.0.0/8"],
|
|
801
|
-
* ports: [8000, 8080], // Pre-expose ports
|
|
802
|
-
* }
|
|
803
|
-
* ```
|
|
804
|
-
*/
|
|
805
|
-
network?: NetworkConfig;
|
|
806
694
|
/**
|
|
807
695
|
* Egress firewall policy for controlling outbound internet access.
|
|
808
696
|
*
|
|
@@ -822,15 +710,6 @@ interface CreateSandboxOptions {
|
|
|
822
710
|
* @example { url: "https://github.com/user/repo.git", ref: "main" }
|
|
823
711
|
*/
|
|
824
712
|
git?: GitConfig;
|
|
825
|
-
/**
|
|
826
|
-
* Tool versions to pre-install via mise.
|
|
827
|
-
*
|
|
828
|
-
* Mise (polyglot version manager) is pre-installed in managed sandboxes.
|
|
829
|
-
* Specify versions here to have them ready when the sandbox starts.
|
|
830
|
-
*
|
|
831
|
-
* @example { node: "22", python: "3.12", rust: "1.75" }
|
|
832
|
-
*/
|
|
833
|
-
tools?: ToolsConfig;
|
|
834
713
|
/** Human-readable name for the sandbox */
|
|
835
714
|
name?: string;
|
|
836
715
|
/** Resource limits (CPU cores, memory, disk) */
|
|
@@ -1069,11 +948,9 @@ interface CreateSandboxOptions {
|
|
|
1069
948
|
* skills, tool scripts) does not bloat the create POST; the SDK
|
|
1070
949
|
* materializes those files via {@link FileSystem.writeMany} /
|
|
1071
950
|
* {@link FileSystem.uploadData} after the sandbox reaches `running`. Only
|
|
1072
|
-
* applies to an inline `AgentProfile` object on `backend.profile
|
|
1073
|
-
* named-profile string is never split
|
|
1074
|
-
*
|
|
1075
|
-
* to send the full profile inline in the create request (no post-create
|
|
1076
|
-
* materialization step).
|
|
951
|
+
* applies to an inline `AgentProfile` object on `backend.profile`; a
|
|
952
|
+
* named-profile string is never split. Set `false` to send the full profile
|
|
953
|
+
* in the create request without a post-create materialization step.
|
|
1077
954
|
*
|
|
1078
955
|
* @default true
|
|
1079
956
|
*/
|
|
@@ -1087,9 +964,9 @@ interface CreateSandboxOptions {
|
|
|
1087
964
|
* handle still holds the full profile, so a cache miss transparently resends
|
|
1088
965
|
* it.
|
|
1089
966
|
*
|
|
1090
|
-
* When `false`, the full profile
|
|
1091
|
-
* and every turn
|
|
1092
|
-
*
|
|
967
|
+
* When `false`, the full profile, including skills, travels with the create
|
|
968
|
+
* request and every turn. This applies only to an inline `AgentProfile`
|
|
969
|
+
* object on `backend.profile` and is independent of
|
|
1093
970
|
* {@link autoMaterializeProfileFiles}.
|
|
1094
971
|
*
|
|
1095
972
|
* A turn only substitutes the hash reference when the outgoing profile's
|
|
@@ -1344,21 +1221,16 @@ interface SandboxTerminals extends SandboxTerminalManager {
|
|
|
1344
1221
|
}
|
|
1345
1222
|
/** Runtime-local agent profile. */
|
|
1346
1223
|
interface SandboxRuntimeProfile {
|
|
1224
|
+
id: string;
|
|
1347
1225
|
name: string;
|
|
1348
1226
|
description?: string;
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
mcpServers?: string[];
|
|
1352
|
-
env?: Record<string, string>;
|
|
1353
|
-
model?: {
|
|
1354
|
-
provider?: string;
|
|
1355
|
-
model?: string;
|
|
1356
|
-
};
|
|
1227
|
+
model?: string;
|
|
1228
|
+
tags?: string[];
|
|
1357
1229
|
}
|
|
1358
1230
|
/** Runtime-local profile listing and selected default. */
|
|
1359
1231
|
interface SandboxRuntimeProfileList {
|
|
1360
1232
|
profiles: SandboxRuntimeProfile[];
|
|
1361
|
-
defaultProfile
|
|
1233
|
+
defaultProfile: string;
|
|
1362
1234
|
}
|
|
1363
1235
|
/** Profile summary returned before a sandbox runtime exists. */
|
|
1364
1236
|
interface SandboxProfileSummary {
|
|
@@ -2320,7 +2192,7 @@ interface SentSessionMessage {
|
|
|
2320
2192
|
processing: true;
|
|
2321
2193
|
}
|
|
2322
2194
|
/** Canonical portable profile attached to a task session. */
|
|
2323
|
-
type TaskSessionProfile = AgentProfile
|
|
2195
|
+
type TaskSessionProfile = AgentProfile & {
|
|
2324
2196
|
name: string;
|
|
2325
2197
|
};
|
|
2326
2198
|
/** Options for creating an isolated background task session. */
|
|
@@ -3598,18 +3470,6 @@ interface DriverConfigBase {
|
|
|
3598
3470
|
* e.g., "us-east-1", "eu-west-1".
|
|
3599
3471
|
*/
|
|
3600
3472
|
preferredRegion?: string;
|
|
3601
|
-
/**
|
|
3602
|
-
* @deprecated Use `resources.accelerator` on sandbox or fleet machine specs.
|
|
3603
|
-
*/
|
|
3604
|
-
gpuRequired?: boolean;
|
|
3605
|
-
/**
|
|
3606
|
-
* @deprecated Use `resources.accelerator.kind`.
|
|
3607
|
-
*/
|
|
3608
|
-
gpuType?: GpuType;
|
|
3609
|
-
/**
|
|
3610
|
-
* @deprecated Use `resources.accelerator.count`.
|
|
3611
|
-
*/
|
|
3612
|
-
gpuCount?: number;
|
|
3613
3473
|
}
|
|
3614
3474
|
interface HostAgentDriverConfig extends DriverConfigBase {
|
|
3615
3475
|
/**
|
|
@@ -3749,7 +3609,7 @@ interface BackendConfig {
|
|
|
3749
3609
|
* Use a string for a named provider/backend profile, or an `AgentProfile`
|
|
3750
3610
|
* object for an inline provider-neutral profile definition.
|
|
3751
3611
|
*/
|
|
3752
|
-
profile?: string | AgentProfile
|
|
3612
|
+
profile?: string | AgentProfile;
|
|
3753
3613
|
/**
|
|
3754
3614
|
* Model configuration override.
|
|
3755
3615
|
*/
|
|
@@ -3915,7 +3775,7 @@ interface BackendArtifact {
|
|
|
3915
3775
|
updatedAt?: string;
|
|
3916
3776
|
}
|
|
3917
3777
|
/**
|
|
3918
|
-
*
|
|
3778
|
+
* Runtime network configuration for sandbox isolation.
|
|
3919
3779
|
*
|
|
3920
3780
|
* Supports two modes:
|
|
3921
3781
|
* - `blockOutbound: true` - Block all egress traffic (ports still work for inbound)
|
|
@@ -3925,31 +3785,22 @@ interface BackendArtifact {
|
|
|
3925
3785
|
*
|
|
3926
3786
|
* @example Block all outbound traffic
|
|
3927
3787
|
* ```typescript
|
|
3928
|
-
*
|
|
3929
|
-
* network: { blockOutbound: true }
|
|
3930
|
-
* });
|
|
3788
|
+
* await box.network.update({ blockOutbound: true });
|
|
3931
3789
|
* ```
|
|
3932
3790
|
*
|
|
3933
3791
|
* @example Allow only specific destinations
|
|
3934
3792
|
* ```typescript
|
|
3935
|
-
*
|
|
3936
|
-
*
|
|
3937
|
-
*
|
|
3938
|
-
*
|
|
3939
|
-
*
|
|
3940
|
-
* ]
|
|
3941
|
-
* }
|
|
3793
|
+
* await box.network.update({
|
|
3794
|
+
* allowList: [
|
|
3795
|
+
* "8.8.8.8/32", // Google DNS
|
|
3796
|
+
* "10.0.0.0/8", // Private network
|
|
3797
|
+
* ]
|
|
3942
3798
|
* });
|
|
3943
3799
|
* ```
|
|
3944
3800
|
*
|
|
3945
|
-
* @example
|
|
3801
|
+
* @example Expose ports at runtime
|
|
3946
3802
|
* ```typescript
|
|
3947
|
-
*
|
|
3948
|
-
* network: {
|
|
3949
|
-
* blockOutbound: true,
|
|
3950
|
-
* ports: [8000, 8080], // Pre-expose these ports
|
|
3951
|
-
* }
|
|
3952
|
-
* });
|
|
3803
|
+
* await box.network.update({ ports: [8000, 8080] });
|
|
3953
3804
|
* ```
|
|
3954
3805
|
*/
|
|
3955
3806
|
interface NetworkConfig {
|
|
@@ -3971,7 +3822,7 @@ interface NetworkConfig {
|
|
|
3971
3822
|
*/
|
|
3972
3823
|
allowList?: string[];
|
|
3973
3824
|
/**
|
|
3974
|
-
* Ports to expose
|
|
3825
|
+
* Ports to expose through a runtime network update.
|
|
3975
3826
|
* These ports will be accessible regardless of network restrictions.
|
|
3976
3827
|
*/
|
|
3977
3828
|
ports?: number[];
|
|
@@ -4015,16 +3866,6 @@ interface EgressPolicy {
|
|
|
4015
3866
|
* Defaults to true. Set false when `allowDomains` must be the complete list.
|
|
4016
3867
|
*/
|
|
4017
3868
|
includeImplicitDomains?: boolean;
|
|
4018
|
-
/**
|
|
4019
|
-
* Denied domains. Only enforced when the proxy supports denylist transforms.
|
|
4020
|
-
* @deprecated Not supported by the current proxy.
|
|
4021
|
-
*/
|
|
4022
|
-
denyDomains?: string[];
|
|
4023
|
-
/**
|
|
4024
|
-
* Allowed CIDR ranges. Only enforced when the proxy supports CIDR passthrough.
|
|
4025
|
-
* @deprecated Not supported by the current proxy.
|
|
4026
|
-
*/
|
|
4027
|
-
allowCidrs?: string[];
|
|
4028
3869
|
}
|
|
4029
3870
|
/**
|
|
4030
3871
|
* Egress policy manager for runtime egress configuration.
|
|
@@ -4270,34 +4111,6 @@ interface UpdateUserOptions {
|
|
|
4270
4111
|
/** Directory permissions to add/update */
|
|
4271
4112
|
directoryPermissions?: DirectoryPermission[];
|
|
4272
4113
|
}
|
|
4273
|
-
/**
|
|
4274
|
-
* Initial permissions configuration for sandbox creation.
|
|
4275
|
-
*/
|
|
4276
|
-
interface SandboxPermissionsConfig {
|
|
4277
|
-
/**
|
|
4278
|
-
* Default role for invited users.
|
|
4279
|
-
* @default "developer"
|
|
4280
|
-
*/
|
|
4281
|
-
defaultRole?: PermissionLevel;
|
|
4282
|
-
/**
|
|
4283
|
-
* Users to invite at creation time.
|
|
4284
|
-
* Owner is automatically added from the API key.
|
|
4285
|
-
*/
|
|
4286
|
-
initialUsers?: Array<{
|
|
4287
|
-
userId: string;
|
|
4288
|
-
role?: PermissionLevel;
|
|
4289
|
-
sshKeys?: string[];
|
|
4290
|
-
}>;
|
|
4291
|
-
/**
|
|
4292
|
-
* Default access policies for all users.
|
|
4293
|
-
*/
|
|
4294
|
-
defaultPolicies?: AccessPolicyRule[];
|
|
4295
|
-
/**
|
|
4296
|
-
* Enable multi-user mode.
|
|
4297
|
-
* @default true when initialUsers is provided
|
|
4298
|
-
*/
|
|
4299
|
-
multiUser?: boolean;
|
|
4300
|
-
}
|
|
4301
4114
|
/**
|
|
4302
4115
|
* Permissions manager interface.
|
|
4303
4116
|
* Access via `sandbox.permissions`.
|
|
@@ -4373,7 +4186,7 @@ interface BackendManager {
|
|
|
4373
4186
|
*
|
|
4374
4187
|
* Optional while backends adopt the public `AgentProfile` contract.
|
|
4375
4188
|
*/
|
|
4376
|
-
validateProfile?(profile: AgentProfile
|
|
4189
|
+
validateProfile?(profile: AgentProfile): Promise<AgentProfileValidationResult>;
|
|
4377
4190
|
/** Restart the backend agent */
|
|
4378
4191
|
restart(): Promise<void>;
|
|
4379
4192
|
}
|
|
@@ -5472,4 +5285,4 @@ interface CodeExecutionOptions {
|
|
|
5472
5285
|
idempotencyKey?: string;
|
|
5473
5286
|
}
|
|
5474
5287
|
//#endregion
|
|
5475
|
-
export { EventStreamOptions as $,
|
|
5288
|
+
export { EventStreamOptions as $, TerminalStreamHandlers as $i, SandboxFleetCostEstimate as $n, SendSessionMessageOptions as $r, ListSandboxFleetOptions as $t, CreateIntelligenceReportOptions as A, TokenRefreshHandler as Ai, ReapExpiredSandboxFleetsOptions as An, SandboxResourceUsage as Ar, GitCommit as At, DirectoryPermission as B, WriteManyFile as Bi, RolloutScorer as Bn, SandboxTerminalRequestOptions as Br, GpuLeaseProviderName as Bt, CodeExecutionResult as C, TaskSessionInfo as Ci, ProvisionResult as Cn, SandboxFleetWorkspaceSnapshotResult as Cr, FleetExecDispatchResult as Ct, CommitTaskSessionOptions as D, TeeAttestationResponse as Di, PublicTemplateVersionInfo as Dn, SandboxPortBinding as Dr, GPU_LEASE_PROVIDER_NAMES as Dt, CodeResultPart as E, TeeAttestationReport as Ei, PublicTemplateInfo as En, SandboxIntelligenceEnvelope as Er, FleetPromptDispatchResult as Et, CreateSandboxOptions as F, UploadProgress as Fi, RestoreSnapshotOptions as Fn, SandboxStatus as Fr, GpuLeaseBilling as Ft, DriveTurnOptions as G, BatchSidecarGroup as Gi, SSHCommandDescriptor as Gn, SandboxTraceOptions as Gr, IntelligenceReport as Gt, DispatchedSession as H, BatchBackendStats as Hi, RolloutStatus as Hn, SandboxTraceBundle as Hr, HostAgentDriverConfig as Ht, CreateSessionOptions as I, UsageInfo as Ii, ResumeOptions as In, SandboxTerminalAttachOptions as Ir, GpuLeaseCommandResult as It, DriverType as J, TerminalExitInfo as Ji, SandboxConnection as Jn, ScopedTokenScope as Jr, IntelligenceReportSubjectType as Jt, DriverConfig as K, BatchTaskUsage as Ki, SSHCredentials as Kn, SandboxUser as Kr, IntelligenceReportBudget as Kt, CreateTaskSessionOptions as L, WaitForOptions as Li, Rollout as Ln, SandboxTerminalCreateOptions as Lr, GpuLeaseExecOptions as Lt, CreateSandboxFleetOptions as M, TurnDriveResult as Mi, ReconcileSandboxFleetsOptions as Mn, SandboxRuntimeHealth as Mr, GitDiff as Mt, CreateSandboxFleetTokenOptions as N, UpdateUserOptions as Ni, ReconcileSandboxFleetsResult as Nn, SandboxRuntimeProfile as Nr, GitStatus as Nt, CompletedTurnResult as O, TeePublicKey as Oi, PublishPublicTemplateOptions as On, SandboxPortPreviewLink as Or, GitAuth as Ot, CreateSandboxFleetWithCoordinatorOptions as P, UploadOptions as Pi, RenameOptions as Pn, SandboxRuntimeProfileList as Pr, GpuLease as Pt, EnsureDevServerOptions as Q, TerminalStreamError as Qi, SandboxFleetArtifactSpec as Qn, SecretsManager as Qr, ListOptions as Qt, DeleteOptions as R, WaitForRolloutOptions as Ri, RolloutChildResult as Rn, SandboxTerminalInfo as Rr, GpuLeaseExecResult as Rt, CodeExecutionOptions as S, TaskSessionFileChange as Si, ProvisionEvent as Sn, SandboxFleetWorkspaceRestoreResult as Sr, FleetExecDispatchOptions as St, CodeResult as T, TeeAttestationOptions as Ti, ProvisionStep as Tn, SandboxInfo as Tr, FleetPromptDispatchOptions as Tt, DownloadOptions as U, BatchEvent as Ui, RolloutTurnPart as Un, SandboxTraceEvent as Ur, HostAgentRuntimeBackend as Ut, DispatchPromptOptions as V, WriteManyOptions as Vi, RolloutStartResult as Vn, SandboxTerminals as Vr, GpuLeaseStatus as Vt, DownloadProgress as W, BatchEventDataMap as Wi, RunCodeOptions as Wn, SandboxTraceExport as Wr, InstalledTool as Wt, EgressManager as X, TerminalStream as Xi, SandboxEvent as Xn, SearchOptions as Xr, JsonValue as Xt, DurablePlan as Y, TerminalReadyInfo as Yi, SandboxEnvironment as Yn, SearchMatch as Yr, IntelligenceReportWindow as Yt, EgressPolicy as Z, TerminalStreamAuthFormat as Zi, SandboxFleetArtifact as Zn, SecretInfo as Zr, ListMessagesOptions as Zt, BatchTask as _, SubscriptionInfo as _i, ProcessSpawnOptions as _n, SandboxFleetTraceExport as _r, FleetDispatchResultBuffer as _t, AttachSandboxFleetMachineOptions as a, SessionInfo as ai, NetworkManager as an, SandboxFleetIntelligenceEnvelope as ar, FileReadBatchResult as at, ChunkedUploadOptions as b, TaskSessionChanges as bi, PromptOptions as bn, SandboxFleetWorkspace as br, FleetDriveTurnOutcome as bt, BackendInfo as c, SessionMessageInputPart as ci, PermissionsManager as cn, SandboxFleetMachineRecord as cr, FileRenameResult as ct, BackendType as d, SnapshotOptions as di, Process as dn, SandboxFleetManifestMachine as dr, FileTreeOptions as dt, TerminalStreamOptions as ea, SendSessionMessageRequest as ei, ListSandboxOptions as en, SandboxFleetDispatchFailureClass as er, ExactProcessSpawnOptions as et, BatchBackend as f, SnapshotResult as fi, ProcessInfo as fn, SandboxFleetOperationsSummary as fr, FileTreeResult as ft, BatchRunRequest as g, StorageConfig as gi, ProcessSignal as gn, SandboxFleetTraceEvent as gr, FleetDispatchCancelResult as gt, BatchRunOptions as h, StartupOperation as hi, ProcessManager as hn, SandboxFleetTraceBundle as hr, FileWriteResult as ht, AttachGpuLeaseOptions as i, SessionForkOptions as ii, NetworkConfig as in, SandboxFleetInfo as ir, FileReadBatchOptions as it, CreateRequestOptions as j, TokenUsage as ji, ReapExpiredSandboxFleetsResult as jn, SandboxResources as jr, GitConfig as jt, CreateGpuLeaseOptions as k, TeePublicKeyResponse as ki, PublishPublicTemplateVersionOptions as kn, SandboxProfileSummary as kr, GitBranch as kt, BackendManager as l, SessionStatus as li, PreviewLinkInfo as ln, SandboxFleetMachineSpec as lr, FileSystem as lt, BatchResult as m, StartupDiagnostics as mi, ProcessLogEntry as mn, SandboxFleetToken as mr, FileUsageResult as mt, AccessPolicyRule as n, SessionBackendCredentials as ni, MintScopedTokenOptions as nn, SandboxFleetDriverCapability as nr, ExecResult as nt, BackendCapabilities as o, SessionListOptions as oi, NonHostAgentDriverConfig as on, SandboxFleetMachine as or, FileReadError as ot, BatchOptions as p, SshKeysManager as pi, ProcessListOptions as pn, SandboxFleetPolicy as pr, FileUsageOptions as pt, DriverInfo as q, TERMINAL_WS_ECHO_SUBPROTOCOL as qi, SandboxClientConfig as qn, ScopedToken as qr, IntelligenceReportCompareTo as qt, AddUserOptions as r, SessionEventStreamOptions as ri, MkdirOptions as rn, SandboxFleetDriverTimings as rr, FileInfo as rt, BackendConfig as s, SessionMessage as si, PermissionLevel as sn, SandboxFleetMachineMeteredUsage as sr, FileReadResult as st, AcceleratorKind as t, TerminalStreamToken as ta, SentSessionMessage as ti, McpServerConfig as tn, SandboxFleetDispatchResponse as tr, ExecOptions as tt, BackendStatus as u, SnapshotInfo as ui, PreviewLinkManager as un, SandboxFleetManifest as ur, FileTreeFile as ut, BatchTaskResult as v, TaskOptions as vi, ProcessStatus as vn, SandboxFleetTraceOptions as vr, FleetDispatchResultBufferOptions as vt, CodeLanguage as w, TaskSessionProfile as wi, ProvisionStatus as wn, SandboxIdentity as wr, FleetMachineId as wt, ChunkedUploadResult as x, TaskSessionCommitResult as xi, PromptResult as xn, SandboxFleetWorkspaceReconcileResult as xr, FleetDriveTurnRequest as xt, BranchOptions as y, TaskResult as yi, PromptInputPart as yn, SandboxFleetUsage as yr, FleetDispatchStreamOptions as yt, DevServerInfo as z, WriteFileOptions as zi, RolloutOptions as zn, SandboxTerminalManager as zr, GpuLeaseManager as zt };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0-develop.20260726072320.8402d7e",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"url": "https://github.com/tangle-network/agent-dev-container/issues"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@tangle-network/agent-core": "0.4.
|
|
91
|
-
"@tangle-network/agent-interface": "0.
|
|
90
|
+
"@tangle-network/agent-core": "0.4.22",
|
|
91
|
+
"@tangle-network/agent-interface": "0.34.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
94
|
"@mastra/core": "^1.36.0",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"scripts": {
|
|
133
133
|
"build": "node scripts/build-dist.mjs",
|
|
134
134
|
"build:clean": "node scripts/build-dist.mjs",
|
|
135
|
-
"check-types": "tsc --noEmit",
|
|
135
|
+
"check-types": "tsc --noEmit && tsc --noEmit -p tsconfig.type-tests.json",
|
|
136
136
|
"check-examples": "tsc -p tsconfig.examples.json && tsc -p tsconfig.worker-example.json",
|
|
137
137
|
"verify-dist": "bash scripts/verify-dist.sh",
|
|
138
138
|
"test": "vitest run",
|