@tangle-network/agent-profile-materialize 1.1.115 → 1.1.117
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/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -625,6 +625,7 @@ declare const ERROR_CATALOG: {
|
|
|
625
625
|
readonly NATIVE_CAPTURE_UNAVAILABLE: "409 final | The host cannot prove the native capture image this create requires. | Retry on another host, or create without native capture.";
|
|
626
626
|
readonly NETWORK_ISOLATION_REQUIRED: "409 final | The create requires its own network, and the host did not place one. | Retry on a host that supports network isolation.";
|
|
627
627
|
readonly SESSION_CLAIM_MISMATCH: "409 final | The request names a session other than the one bound to this container. | Use the session id the container was created for.";
|
|
628
|
+
readonly SNAPSHOT_LIMIT_REACHED: "409 final | The sandbox holds as many snapshots as its plan allows. | Delete a snapshot of this sandbox, or move to a plan with a higher snapshot limit.";
|
|
628
629
|
readonly SNAPSHOT_NOT_SYNCED: "409 retry | The snapshot has not finished uploading. | Retry after the upload completes.";
|
|
629
630
|
readonly WARM_CLAIM_REMOVED: "409 final | Another lifecycle operation removed the claimed warm sandbox. | Create the sandbox again.";
|
|
630
631
|
readonly WORKSPACE_STORAGE_MISSING: "409 final | The stopped sandbox storage is gone or replaced, so the host refused to start it. | Restore the sandbox from a snapshot.";
|
|
@@ -702,7 +703,7 @@ declare class CatalogError extends Error {
|
|
|
702
703
|
toJSON(): {
|
|
703
704
|
success: boolean;
|
|
704
705
|
error: {
|
|
705
|
-
code: "VALIDATION_ERROR" | "INVALID_REQUEST" | "INVALID_TEXT_PART" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "FEATURE_DISABLED" | "NOT_FOUND" | "SIDECAR_NOT_FOUND" | "CONFLICT" | "STALE_STATE" | "INVALID_STATE" | "IN_PROGRESS" | "EGRESS_PROXY_RECOVERY_REQUIRED" | "EGRESS_PROXY_SECRETS_UNAVAILABLE" | "EGRESS_IN_PLACE_RELOAD_UNAVAILABLE" | "NATIVE_CREDENTIAL_SEAT_SWITCH_UNSUPPORTED" | "EXPIRED" | "PAYLOAD_TOO_LARGE" | "NOT_CONNECTED" | "QUOTA_EXCEEDED" | "RATE_LIMITED" | "RATE_LIMIT_EXCEEDED" | "INTERNAL_ERROR" | "OPERATION_FAILED" | "CONFIGURATION_ERROR" | "AGENT_EXECUTION_FAILED" | "BACKEND_START_FAILED" | "MESSAGE_RETRIEVAL_FAILED" | "UNSUPPORTED" | "UPSTREAM_ERROR" | "UNAVAILABLE" | "UPSTREAM_UNAVAILABLE" | "NOT_READY" | "BACKEND_UNAVAILABLE" | "MESSAGE_RETRIEVAL_UNAVAILABLE" | "TIMEOUT" | "KV_VALUE_TOO_LARGE" | "KV_KEY_LIMIT" | "KV_VERSION_CONFLICT" | "PRECONDITION_FAILED" | "UNPROCESSABLE" | "BASE_IMAGE_NOT_FOUND" | "BASE_IMAGE_MISSING_BEFORE_CREATE" | "UNSUPPORTED_EGRESS_POLICY" | "UNSUPPORTED_FOR_RUNTIME" | "ROOT_USER_FORBIDDEN" | "EGRESS_DOMAIN_NOT_ALLOWED" | "EGRESS_REQUEST_REFUSED" | "NOT_MANAGED" | "SNAPSHOT_NOT_FOUND" | "BRANCH_PARENT_NOT_RUNNING" | "BRANCH_NOT_MATERIALIZED" | "CONTAINER_RESERVATION_CONFLICT" | "CONTAINER_NETWORK_MISSING" | "EGRESS_DISABLED" | "NATIVE_CAPTURE_UNAVAILABLE" | "NETWORK_ISOLATION_REQUIRED" | "SESSION_CLAIM_MISMATCH" | "SNAPSHOT_NOT_SYNCED" | "WARM_CLAIM_REMOVED" | "WORKSPACE_STORAGE_MISSING" | "RESTORE_QUOTA_EXCEEDED" | "GIT_CLONE_REFUSED" | "BRANCH_FAILED" | "CONTAINER_START_FAILED" | "GIT_CLONE_FAILED" | "GIT_CLONE_TIMEOUT" | "HOST_CLEANUP_UNCONFIRMED" | "HOST_RESERVATION_COMMIT_FAILED" | "MISSING_SIDECAR_AUTH_TOKEN" | "SNAPSHOT_RESTORE_FAILED" | "VM_START_FAILED" | "SIDECAR_UPSTREAM_UNAVAILABLE" | "BRANCH_UFFD_UNAVAILABLE" | "CAPACITY_EXHAUSTED" | "COMPLIANCE_CAPACITY_UNAVAILABLE" | "CPU_FEATURES_UNAVAILABLE" | "FIRECRACKER_IMAGE_UNAVAILABLE" | "PLACEMENT_WARMING" | "HOST_UNAVAILABLE" | "HOST_PRESSURE" | "HOST_AGENT_RESTARTING" | "IN_BOX_DOCKER_UNAVAILABLE" | "NO_IP" | "ROUTE_LOOKUP_FAILED" | "SNAPSHOT_STORAGE_UNAVAILABLE" | "THIN_POOL_HEADROOM" | "WARM_RECONNECT_MISS" | "WORKSPACE_IMAGE_BUILDER_BUSY" | "WORKSPACE_IMAGE_BUILDER_UNAVAILABLE" | "SIDECAR_HEALTH_TIMEOUT" | "rate_limit_error" | "provider_quota_exhausted" | "native_api_error" | "empty_visible_output" | "session_rehydration_failed" | "SESSION_DIED" | "MEMORY_LIMIT_KILLED" | "PROCESS_OUTPUT_GAP" | "SESSION_CREDENTIAL_NOT_RETAINED" | "interaction_kind_unsupported" | "invalid_attachment" | "PROFILE_UNSUPPORTED" | "PROFILE_NOT_CACHED" | "MODEL_CALL_LIMIT_REACHED" | "MODEL_CALL_LIMIT_UNSUPPORTED" | "TOOL_DISABLED_TURN_UNSUPPORTED" | "EXECUTION_TTL_EXPIRED" | "EXECUTION_TTL_EXCEEDS_LIMIT" | "MESSAGE_ADMISSION_EXPIRED" | "BACKEND_HARNESS_CONFLICT" | "HARNESS_MODEL_UNSUPPORTED" | "HARNESS_RUNTIME_UNAVAILABLE" | "GPU_PROVIDER_NOT_CONFIGURED" | "COMPLIANCE_NOT_ENTITLED" | "COMPLIANCE_CELL_UNAVAILABLE" | "NETWORK_ERROR" | "TRANSPORT_LOST" | "EXECUTION_INTERRUPTED" | "STREAM_INTERRUPTED" | "PUBLIC_PROFILE_PIN_REFUSED" | "model_credential_refused" | "TEMPLATE_PUBLICATION_WAIT_INTERRUPTED";
|
|
706
|
+
code: "VALIDATION_ERROR" | "INVALID_REQUEST" | "INVALID_TEXT_PART" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "FEATURE_DISABLED" | "NOT_FOUND" | "SIDECAR_NOT_FOUND" | "CONFLICT" | "STALE_STATE" | "INVALID_STATE" | "IN_PROGRESS" | "EGRESS_PROXY_RECOVERY_REQUIRED" | "EGRESS_PROXY_SECRETS_UNAVAILABLE" | "EGRESS_IN_PLACE_RELOAD_UNAVAILABLE" | "NATIVE_CREDENTIAL_SEAT_SWITCH_UNSUPPORTED" | "EXPIRED" | "PAYLOAD_TOO_LARGE" | "NOT_CONNECTED" | "QUOTA_EXCEEDED" | "RATE_LIMITED" | "RATE_LIMIT_EXCEEDED" | "INTERNAL_ERROR" | "OPERATION_FAILED" | "CONFIGURATION_ERROR" | "AGENT_EXECUTION_FAILED" | "BACKEND_START_FAILED" | "MESSAGE_RETRIEVAL_FAILED" | "UNSUPPORTED" | "UPSTREAM_ERROR" | "UNAVAILABLE" | "UPSTREAM_UNAVAILABLE" | "NOT_READY" | "BACKEND_UNAVAILABLE" | "MESSAGE_RETRIEVAL_UNAVAILABLE" | "TIMEOUT" | "KV_VALUE_TOO_LARGE" | "KV_KEY_LIMIT" | "KV_VERSION_CONFLICT" | "PRECONDITION_FAILED" | "UNPROCESSABLE" | "BASE_IMAGE_NOT_FOUND" | "BASE_IMAGE_MISSING_BEFORE_CREATE" | "UNSUPPORTED_EGRESS_POLICY" | "UNSUPPORTED_FOR_RUNTIME" | "ROOT_USER_FORBIDDEN" | "EGRESS_DOMAIN_NOT_ALLOWED" | "EGRESS_REQUEST_REFUSED" | "NOT_MANAGED" | "SNAPSHOT_NOT_FOUND" | "BRANCH_PARENT_NOT_RUNNING" | "BRANCH_NOT_MATERIALIZED" | "CONTAINER_RESERVATION_CONFLICT" | "CONTAINER_NETWORK_MISSING" | "EGRESS_DISABLED" | "NATIVE_CAPTURE_UNAVAILABLE" | "NETWORK_ISOLATION_REQUIRED" | "SESSION_CLAIM_MISMATCH" | "SNAPSHOT_LIMIT_REACHED" | "SNAPSHOT_NOT_SYNCED" | "WARM_CLAIM_REMOVED" | "WORKSPACE_STORAGE_MISSING" | "RESTORE_QUOTA_EXCEEDED" | "GIT_CLONE_REFUSED" | "BRANCH_FAILED" | "CONTAINER_START_FAILED" | "GIT_CLONE_FAILED" | "GIT_CLONE_TIMEOUT" | "HOST_CLEANUP_UNCONFIRMED" | "HOST_RESERVATION_COMMIT_FAILED" | "MISSING_SIDECAR_AUTH_TOKEN" | "SNAPSHOT_RESTORE_FAILED" | "VM_START_FAILED" | "SIDECAR_UPSTREAM_UNAVAILABLE" | "BRANCH_UFFD_UNAVAILABLE" | "CAPACITY_EXHAUSTED" | "COMPLIANCE_CAPACITY_UNAVAILABLE" | "CPU_FEATURES_UNAVAILABLE" | "FIRECRACKER_IMAGE_UNAVAILABLE" | "PLACEMENT_WARMING" | "HOST_UNAVAILABLE" | "HOST_PRESSURE" | "HOST_AGENT_RESTARTING" | "IN_BOX_DOCKER_UNAVAILABLE" | "NO_IP" | "ROUTE_LOOKUP_FAILED" | "SNAPSHOT_STORAGE_UNAVAILABLE" | "THIN_POOL_HEADROOM" | "WARM_RECONNECT_MISS" | "WORKSPACE_IMAGE_BUILDER_BUSY" | "WORKSPACE_IMAGE_BUILDER_UNAVAILABLE" | "SIDECAR_HEALTH_TIMEOUT" | "rate_limit_error" | "provider_quota_exhausted" | "native_api_error" | "empty_visible_output" | "session_rehydration_failed" | "SESSION_DIED" | "MEMORY_LIMIT_KILLED" | "PROCESS_OUTPUT_GAP" | "SESSION_CREDENTIAL_NOT_RETAINED" | "interaction_kind_unsupported" | "invalid_attachment" | "PROFILE_UNSUPPORTED" | "PROFILE_NOT_CACHED" | "MODEL_CALL_LIMIT_REACHED" | "MODEL_CALL_LIMIT_UNSUPPORTED" | "TOOL_DISABLED_TURN_UNSUPPORTED" | "EXECUTION_TTL_EXPIRED" | "EXECUTION_TTL_EXCEEDS_LIMIT" | "MESSAGE_ADMISSION_EXPIRED" | "BACKEND_HARNESS_CONFLICT" | "HARNESS_MODEL_UNSUPPORTED" | "HARNESS_RUNTIME_UNAVAILABLE" | "GPU_PROVIDER_NOT_CONFIGURED" | "COMPLIANCE_NOT_ENTITLED" | "COMPLIANCE_CELL_UNAVAILABLE" | "NETWORK_ERROR" | "TRANSPORT_LOST" | "EXECUTION_INTERRUPTED" | "STREAM_INTERRUPTED" | "PUBLIC_PROFILE_PIN_REFUSED" | "model_credential_refused" | "TEMPLATE_PUBLICATION_WAIT_INTERRUPTED";
|
|
706
707
|
message: string;
|
|
707
708
|
details: Record<string, unknown> | undefined;
|
|
708
709
|
};
|
package/dist/index.js
CHANGED
|
@@ -712,6 +712,7 @@ const ERROR_CATALOG = {
|
|
|
712
712
|
NATIVE_CAPTURE_UNAVAILABLE: "409 final | The host cannot prove the native capture image this create requires. | Retry on another host, or create without native capture.",
|
|
713
713
|
NETWORK_ISOLATION_REQUIRED: "409 final | The create requires its own network, and the host did not place one. | Retry on a host that supports network isolation.",
|
|
714
714
|
SESSION_CLAIM_MISMATCH: "409 final | The request names a session other than the one bound to this container. | Use the session id the container was created for.",
|
|
715
|
+
SNAPSHOT_LIMIT_REACHED: "409 final | The sandbox holds as many snapshots as its plan allows. | Delete a snapshot of this sandbox, or move to a plan with a higher snapshot limit.",
|
|
715
716
|
SNAPSHOT_NOT_SYNCED: "409 retry | The snapshot has not finished uploading. | Retry after the upload completes.",
|
|
716
717
|
WARM_CLAIM_REMOVED: "409 final | Another lifecycle operation removed the claimed warm sandbox. | Create the sandbox again.",
|
|
717
718
|
WORKSPACE_STORAGE_MISSING: "409 final | The stopped sandbox storage is gone or replaced, so the host refused to start it. | Restore the sandbox from a snapshot.",
|
|
@@ -3689,7 +3690,7 @@ function buildPiModelsConfig(input) {
|
|
|
3689
3690
|
name: input.modelId,
|
|
3690
3691
|
reasoning: input.reasoning ?? false,
|
|
3691
3692
|
...input.supportsStore !== void 0 ? { compat: { supportsStore: input.supportsStore } } : {},
|
|
3692
|
-
input: ["text"
|
|
3693
|
+
input: ["text"],
|
|
3693
3694
|
contextWindow: input.contextWindow ?? DEFAULT_CONTEXT_WINDOW,
|
|
3694
3695
|
...input.maxTokens !== void 0 ? { maxTokens: input.maxTokens } : {},
|
|
3695
3696
|
cost: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-profile-materialize",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.117",
|
|
4
4
|
"description": "Materialize an AgentProfile into the native per-harness workspace files (the one shared materializer for cli-bridge, agent-container, and VB).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@tangle-network/agent-interface": "^5.10.23"
|
|
38
38
|
},
|
|
39
39
|
"tangleRelease": {
|
|
40
|
-
"sourceSha": "
|
|
41
|
-
"mergedAt": "2026-11-
|
|
40
|
+
"sourceSha": "93b1a391d2e7c8aa68b0bb7f9ba4434ea977d04d",
|
|
41
|
+
"mergedAt": "2026-11-15T16:25:17-08:00"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsdown",
|