@withgateway/sdk 0.2.1 → 0.2.3
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/cli.js +438 -81
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +439 -82
- package/dist/cli.mjs.map +1 -1
- package/dist/files/index.js +9 -5
- package/dist/files/index.js.map +1 -1
- package/dist/files/index.mjs +9 -5
- package/dist/files/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +21 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -10
- package/dist/index.mjs.map +1 -1
- package/dist/traces/index.js +9 -5
- package/dist/traces/index.js.map +1 -1
- package/dist/traces/index.mjs +9 -5
- package/dist/traces/index.mjs.map +1 -1
- package/dist/tracing/index.js +1 -1
- package/dist/tracing/index.js.map +1 -1
- package/dist/tracing/index.mjs +1 -1
- package/dist/tracing/index.mjs.map +1 -1
- package/dist/worlds/index.d.mts +7 -1
- package/dist/worlds/index.d.ts +7 -1
- package/dist/worlds/index.js +19 -9
- package/dist/worlds/index.js.map +1 -1
- package/dist/worlds/index.mjs +19 -9
- package/dist/worlds/index.mjs.map +1 -1
- package/package.json +1 -1
- package/runtime/gatewaysdk/environment/schema/api.py +61 -3
- package/runtime/gatewaysdk/environment/schema/batch.py +5 -1
- package/runtime/gatewaysdk/environment/schema/connector.py +11 -0
- package/runtime/gatewaysdk/environment/schema/data.py +76 -2
- package/runtime/gatewaysdk/environment/schema/dependencies.py +11 -1
- package/runtime/gatewaysdk/environment/schema/host.py +8 -17
- package/runtime/gatewaysdk/environment/schema/local.py +105 -19
- package/runtime/gatewaysdk/environment/schema/mapping.py +13 -1
- package/runtime/gatewaysdk/environment/schema/platform.py +32 -5
- package/runtime/gatewaysdk/environment/schema/skills/benchmarks-getting-started/SKILL.md +4 -1
- package/runtime/gatewaysdk/environment/schema/skills/worlds-getting-started/SKILL.md +5 -5
- package/runtime/gatewaysdk/environment/schema/tools_world.py +5 -1
- package/runtime/gatewaysdk/environment/schema/validation.py +4 -3
- package/skills/benchmarks-getting-started/SKILL.md +4 -1
- package/skills/worlds-getting-started/SKILL.md +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -7,7 +7,7 @@ export { GatewayAgentDescriptor, GatewaySecurity, GatewaySecurityConfig, Gateway
|
|
|
7
7
|
export { DEFAULT_TIMEOUT_SECONDS, ENV_GATEWAY_HOST, ENV_GATEWAY_PUBLIC_KEY, ENV_GATEWAY_SECRET_KEY, LoadSessionOptions, SessionLoadError, SessionObservation, SessionRecording, SessionTrace, basicAuthHeader, loadSession, sessionObservationFromApi, sessions } from './sessions/index.mjs';
|
|
8
8
|
export { UserEvent, UserEventOptions, UserProfile, UserProfileError, UserProfileUpdate, UsersClient, UsersClientConfig, UsersClientFromEnvConfig, users } from './users/index.mjs';
|
|
9
9
|
export { AGENT_ID_KEY, SUCCESS_METRIC_NAME_KEY, SUCCESS_SIGNAL_KEY, ScoreDataType, ScoreError, ScoreOptions, ScoresClient, ScoresClientConfig, ScoresClientFromEnvConfig, SuccessOptions, currentTraceId, scores, success } from './scores/index.mjs';
|
|
10
|
-
export { BrowserActionEvent, BrowserActionRecorder, BrowserMode, BrowserPage, COMPUTER_USE_SPECS, DEFAULT_BRANCH, DEFAULT_VIEWPORT, DispatchedRun, EVENT_BATCH_SIZE, EVENT_FLUSH_INTERVAL_MS, EVENT_MAX_RETRIES, GradeResult, IngestExplode, IngestFieldSpec, IngestMapping, IngestMode, IngestOptions, IngestRefusal, IngestReport, IngestSource, IngestSourceReport, IngestToolCallsOptions, IngestToolCallsReport, LocalMeta, MigrateWorldOptions, ObservationConversion, ObservationLike, OpenSessionOptions, ParsedToolCall, Plaintext, PlaywrightBrowserLike, PlaywrightLike, RedactMode, RedactPolicy, Redaction, ResolvedWorldVersion, RunConfigInput, RunConfigSummary, RunProvenance, RunReport, STRIP_PREFIX, SURFACE_KINDS, SeedResult, SessionRunReport, SessionRunResult, SessionSurfaces, TRANSFORMS, ToolCallRecord, ToolCallSink, ToolFunctions, Transform, ValidateReport, ValidatedRun, WHITESPACE, WorldBrowser, WorldDependency, WorldDeprecation, WorldDescription, WorldEntity, WorldEntityMapping, WorldField, WorldMigrationRefusal, WorldMigrationReport, WorldQueryAcrossOptions, WorldQueryAcrossResult, WorldQueryCompare, WorldQueryCompareStatus, WorldQueryGroup, WorldQueryOptions, WorldQueryResult, WorldQuerySnapshot, WorldQueryWhere, WorldRelationship, WorldSession, WorldSessionCall, WorldSessionCallError, WorldSessionState, WorldSessionTask, WorldSessionTimeout, WorldSet, WorldSurfaceKind, WorldSurfaceUnavailable, WorldTask, WorldTaskCheck, WorldTaskDetail, WorldTaskFieldOp, WorldTaskGrader, WorldTaskIdRef, WorldTaskInfo, WorldTaskPage, WorldTaskRef, WorldTaskRubricCriterion, WorldTaskRubricGrader, WorldTaskScalar, WorldTaskSeed, WorldTaskSpec, WorldTaskSummary, WorldTaskValidation, WorldTaskVersionSummary, WorldToolSpec, WorldToolkit, WorldsClientOptions, apiRequest, applyTransforms, attachSession, buildSourceTarball, captureToolCalls, collectArchiveRelPaths, computeContentHash, computerUseToolkit, createRef, createTask, deleteEnvSecret, deleteTask, describeWorld, detectProvenance, getRun, getTask, hashForm, ingest, ingestToolCalls, isIncludedInContentHash, isTaskIdRef, isTaskSpec, listEnvSecretKeys, listRunConfigs, listTasks, localTreeState, migrateProjectWorlds, migrateWorld, openBrowser, openSession, openWorld, parseToolCallRecord, parseTransform, parseWorldTaskRefs, preserveForm, propose, pull, push, pyText, queryRows, queryRowsSearch, readLocalMeta, readToolCallRecords, redactActionArgs, redactionOf, resolveBrowserMode, roundForm, runSessions, schemaFromSignature, sessionToolObservations, setEnvSecret, shapeText, snapshotTreeHashes, storedForms, surfaceKinds, taskLabel, toolCallRecordsIn, toolCallsFromObservations, uiEntryUrl, uiUrl, updateTask, upsertRunConfig, validateTask, validateWorld, waitForRun, withoutUiToken, writeLocalMeta } from './worlds/index.mjs';
|
|
10
|
+
export { ApiError, BrowserActionEvent, BrowserActionRecorder, BrowserMode, BrowserPage, COMPUTER_USE_SPECS, DEFAULT_BRANCH, DEFAULT_VIEWPORT, DispatchedRun, EVENT_BATCH_SIZE, EVENT_FLUSH_INTERVAL_MS, EVENT_MAX_RETRIES, GradeResult, IngestExplode, IngestFieldSpec, IngestMapping, IngestMode, IngestOptions, IngestRefusal, IngestReport, IngestSource, IngestSourceReport, IngestToolCallsOptions, IngestToolCallsReport, LocalMeta, MigrateWorldOptions, ObservationConversion, ObservationLike, OpenSessionOptions, ParsedToolCall, Plaintext, PlaywrightBrowserLike, PlaywrightLike, RedactMode, RedactPolicy, Redaction, ResolvedWorldVersion, RunConfigInput, RunConfigSummary, RunProvenance, RunReport, STRIP_PREFIX, SURFACE_KINDS, SeedResult, SessionRunReport, SessionRunResult, SessionSurfaces, TRANSFORMS, ToolCallRecord, ToolCallSink, ToolFunctions, Transform, ValidateReport, ValidatedRun, WHITESPACE, WorldBrowser, WorldDependency, WorldDeprecation, WorldDescription, WorldEntity, WorldEntityMapping, WorldField, WorldMigrationRefusal, WorldMigrationReport, WorldQueryAcrossOptions, WorldQueryAcrossResult, WorldQueryCompare, WorldQueryCompareStatus, WorldQueryGroup, WorldQueryOptions, WorldQueryResult, WorldQuerySnapshot, WorldQueryWhere, WorldRelationship, WorldSession, WorldSessionCall, WorldSessionCallError, WorldSessionState, WorldSessionTask, WorldSessionTimeout, WorldSet, WorldSurfaceKind, WorldSurfaceUnavailable, WorldTask, WorldTaskCheck, WorldTaskDetail, WorldTaskFieldOp, WorldTaskGrader, WorldTaskIdRef, WorldTaskInfo, WorldTaskPage, WorldTaskRef, WorldTaskRubricCriterion, WorldTaskRubricGrader, WorldTaskScalar, WorldTaskSeed, WorldTaskSpec, WorldTaskSummary, WorldTaskValidation, WorldTaskVersionSummary, WorldToolSpec, WorldToolkit, WorldsClientOptions, apiRequest, applyTransforms, attachSession, buildSourceTarball, captureToolCalls, collectArchiveRelPaths, computeContentHash, computerUseToolkit, createRef, createTask, deleteEnvSecret, deleteTask, describeWorld, detectProvenance, getRun, getTask, hashForm, ingest, ingestToolCalls, isIncludedInContentHash, isTaskIdRef, isTaskSpec, listEnvSecretKeys, listRunConfigs, listTasks, localTreeState, migrateProjectWorlds, migrateWorld, openBrowser, openSession, openWorld, parseToolCallRecord, parseTransform, parseWorldTaskRefs, preserveForm, propose, pull, push, pyText, queryRows, queryRowsSearch, readLocalMeta, readToolCallRecords, redactActionArgs, redactionOf, resolveBrowserMode, roundForm, runSessions, schemaFromSignature, sessionToolObservations, setEnvSecret, shapeText, snapshotTreeHashes, storedForms, surfaceKinds, taskLabel, toolCallRecordsIn, toolCallsFromObservations, uiEntryUrl, uiUrl, updateTask, upsertRunConfig, validateTask, validateWorld, waitForRun, withoutUiToken, writeLocalMeta } from './worlds/index.mjs';
|
|
11
11
|
export { i as files } from './index-CdbmO4aX.mjs';
|
|
12
12
|
export { i as traces } from './index-CiKWoroJ.mjs';
|
|
13
13
|
import { _ as _tracingModule } from './index-B5HUQQDE.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { GatewayAgentDescriptor, GatewaySecurity, GatewaySecurityConfig, Gateway
|
|
|
7
7
|
export { DEFAULT_TIMEOUT_SECONDS, ENV_GATEWAY_HOST, ENV_GATEWAY_PUBLIC_KEY, ENV_GATEWAY_SECRET_KEY, LoadSessionOptions, SessionLoadError, SessionObservation, SessionRecording, SessionTrace, basicAuthHeader, loadSession, sessionObservationFromApi, sessions } from './sessions/index.js';
|
|
8
8
|
export { UserEvent, UserEventOptions, UserProfile, UserProfileError, UserProfileUpdate, UsersClient, UsersClientConfig, UsersClientFromEnvConfig, users } from './users/index.js';
|
|
9
9
|
export { AGENT_ID_KEY, SUCCESS_METRIC_NAME_KEY, SUCCESS_SIGNAL_KEY, ScoreDataType, ScoreError, ScoreOptions, ScoresClient, ScoresClientConfig, ScoresClientFromEnvConfig, SuccessOptions, currentTraceId, scores, success } from './scores/index.js';
|
|
10
|
-
export { BrowserActionEvent, BrowserActionRecorder, BrowserMode, BrowserPage, COMPUTER_USE_SPECS, DEFAULT_BRANCH, DEFAULT_VIEWPORT, DispatchedRun, EVENT_BATCH_SIZE, EVENT_FLUSH_INTERVAL_MS, EVENT_MAX_RETRIES, GradeResult, IngestExplode, IngestFieldSpec, IngestMapping, IngestMode, IngestOptions, IngestRefusal, IngestReport, IngestSource, IngestSourceReport, IngestToolCallsOptions, IngestToolCallsReport, LocalMeta, MigrateWorldOptions, ObservationConversion, ObservationLike, OpenSessionOptions, ParsedToolCall, Plaintext, PlaywrightBrowserLike, PlaywrightLike, RedactMode, RedactPolicy, Redaction, ResolvedWorldVersion, RunConfigInput, RunConfigSummary, RunProvenance, RunReport, STRIP_PREFIX, SURFACE_KINDS, SeedResult, SessionRunReport, SessionRunResult, SessionSurfaces, TRANSFORMS, ToolCallRecord, ToolCallSink, ToolFunctions, Transform, ValidateReport, ValidatedRun, WHITESPACE, WorldBrowser, WorldDependency, WorldDeprecation, WorldDescription, WorldEntity, WorldEntityMapping, WorldField, WorldMigrationRefusal, WorldMigrationReport, WorldQueryAcrossOptions, WorldQueryAcrossResult, WorldQueryCompare, WorldQueryCompareStatus, WorldQueryGroup, WorldQueryOptions, WorldQueryResult, WorldQuerySnapshot, WorldQueryWhere, WorldRelationship, WorldSession, WorldSessionCall, WorldSessionCallError, WorldSessionState, WorldSessionTask, WorldSessionTimeout, WorldSet, WorldSurfaceKind, WorldSurfaceUnavailable, WorldTask, WorldTaskCheck, WorldTaskDetail, WorldTaskFieldOp, WorldTaskGrader, WorldTaskIdRef, WorldTaskInfo, WorldTaskPage, WorldTaskRef, WorldTaskRubricCriterion, WorldTaskRubricGrader, WorldTaskScalar, WorldTaskSeed, WorldTaskSpec, WorldTaskSummary, WorldTaskValidation, WorldTaskVersionSummary, WorldToolSpec, WorldToolkit, WorldsClientOptions, apiRequest, applyTransforms, attachSession, buildSourceTarball, captureToolCalls, collectArchiveRelPaths, computeContentHash, computerUseToolkit, createRef, createTask, deleteEnvSecret, deleteTask, describeWorld, detectProvenance, getRun, getTask, hashForm, ingest, ingestToolCalls, isIncludedInContentHash, isTaskIdRef, isTaskSpec, listEnvSecretKeys, listRunConfigs, listTasks, localTreeState, migrateProjectWorlds, migrateWorld, openBrowser, openSession, openWorld, parseToolCallRecord, parseTransform, parseWorldTaskRefs, preserveForm, propose, pull, push, pyText, queryRows, queryRowsSearch, readLocalMeta, readToolCallRecords, redactActionArgs, redactionOf, resolveBrowserMode, roundForm, runSessions, schemaFromSignature, sessionToolObservations, setEnvSecret, shapeText, snapshotTreeHashes, storedForms, surfaceKinds, taskLabel, toolCallRecordsIn, toolCallsFromObservations, uiEntryUrl, uiUrl, updateTask, upsertRunConfig, validateTask, validateWorld, waitForRun, withoutUiToken, writeLocalMeta } from './worlds/index.js';
|
|
10
|
+
export { ApiError, BrowserActionEvent, BrowserActionRecorder, BrowserMode, BrowserPage, COMPUTER_USE_SPECS, DEFAULT_BRANCH, DEFAULT_VIEWPORT, DispatchedRun, EVENT_BATCH_SIZE, EVENT_FLUSH_INTERVAL_MS, EVENT_MAX_RETRIES, GradeResult, IngestExplode, IngestFieldSpec, IngestMapping, IngestMode, IngestOptions, IngestRefusal, IngestReport, IngestSource, IngestSourceReport, IngestToolCallsOptions, IngestToolCallsReport, LocalMeta, MigrateWorldOptions, ObservationConversion, ObservationLike, OpenSessionOptions, ParsedToolCall, Plaintext, PlaywrightBrowserLike, PlaywrightLike, RedactMode, RedactPolicy, Redaction, ResolvedWorldVersion, RunConfigInput, RunConfigSummary, RunProvenance, RunReport, STRIP_PREFIX, SURFACE_KINDS, SeedResult, SessionRunReport, SessionRunResult, SessionSurfaces, TRANSFORMS, ToolCallRecord, ToolCallSink, ToolFunctions, Transform, ValidateReport, ValidatedRun, WHITESPACE, WorldBrowser, WorldDependency, WorldDeprecation, WorldDescription, WorldEntity, WorldEntityMapping, WorldField, WorldMigrationRefusal, WorldMigrationReport, WorldQueryAcrossOptions, WorldQueryAcrossResult, WorldQueryCompare, WorldQueryCompareStatus, WorldQueryGroup, WorldQueryOptions, WorldQueryResult, WorldQuerySnapshot, WorldQueryWhere, WorldRelationship, WorldSession, WorldSessionCall, WorldSessionCallError, WorldSessionState, WorldSessionTask, WorldSessionTimeout, WorldSet, WorldSurfaceKind, WorldSurfaceUnavailable, WorldTask, WorldTaskCheck, WorldTaskDetail, WorldTaskFieldOp, WorldTaskGrader, WorldTaskIdRef, WorldTaskInfo, WorldTaskPage, WorldTaskRef, WorldTaskRubricCriterion, WorldTaskRubricGrader, WorldTaskScalar, WorldTaskSeed, WorldTaskSpec, WorldTaskSummary, WorldTaskValidation, WorldTaskVersionSummary, WorldToolSpec, WorldToolkit, WorldsClientOptions, apiRequest, applyTransforms, attachSession, buildSourceTarball, captureToolCalls, collectArchiveRelPaths, computeContentHash, computerUseToolkit, createRef, createTask, deleteEnvSecret, deleteTask, describeWorld, detectProvenance, getRun, getTask, hashForm, ingest, ingestToolCalls, isIncludedInContentHash, isTaskIdRef, isTaskSpec, listEnvSecretKeys, listRunConfigs, listTasks, localTreeState, migrateProjectWorlds, migrateWorld, openBrowser, openSession, openWorld, parseToolCallRecord, parseTransform, parseWorldTaskRefs, preserveForm, propose, pull, push, pyText, queryRows, queryRowsSearch, readLocalMeta, readToolCallRecords, redactActionArgs, redactionOf, resolveBrowserMode, roundForm, runSessions, schemaFromSignature, sessionToolObservations, setEnvSecret, shapeText, snapshotTreeHashes, storedForms, surfaceKinds, taskLabel, toolCallRecordsIn, toolCallsFromObservations, uiEntryUrl, uiUrl, updateTask, upsertRunConfig, validateTask, validateWorld, waitForRun, withoutUiToken, writeLocalMeta } from './worlds/index.js';
|
|
11
11
|
export { i as files } from './index-CLkMr6VG.js';
|
|
12
12
|
export { i as traces } from './index-BgvvQ3BC.js';
|
|
13
13
|
import { _ as _tracingModule } from './index-Dpo-t8iO.js';
|
package/dist/index.js
CHANGED
|
@@ -1354,7 +1354,7 @@ async function push(dir, opts = {}) {
|
|
|
1354
1354
|
const pyproject = readPyproject(dir);
|
|
1355
1355
|
const contractVersion = pyproject.version ? void 0 : readWorldContractVersion(dir).version;
|
|
1356
1356
|
if (contractVersion) pyproject.version = contractVersion;
|
|
1357
|
-
const slug = opts.slug ?? pyproject.name ?? path.basename(path.resolve(dir));
|
|
1357
|
+
const slug = opts.slug ?? localMeta.slug ?? pyproject.name ?? path.basename(path.resolve(dir));
|
|
1358
1358
|
const resolve7 = await apiRequest(
|
|
1359
1359
|
options,
|
|
1360
1360
|
"POST",
|
|
@@ -2650,14 +2650,19 @@ async function importLocalWorldData(dir, rows, opts, creds) {
|
|
|
2650
2650
|
files: readWorldFiles(dir),
|
|
2651
2651
|
rows,
|
|
2652
2652
|
mode: opts.mode ?? "append",
|
|
2653
|
+
...opts.merge && opts.merge !== "upsert" ? { merge: opts.merge } : {},
|
|
2653
2654
|
...opts.redact && opts.redact !== "off" ? { redact: opts.redact } : {}
|
|
2654
2655
|
});
|
|
2655
2656
|
if (res.files?.length) writeWorldFiles(dir, res.files);
|
|
2656
|
-
|
|
2657
|
+
const dropped = res.changed ? dropBuildOutputs(dir) : [];
|
|
2657
2658
|
return {
|
|
2658
2659
|
kind: res.kind ?? "unknown",
|
|
2659
2660
|
entity_counts: res.entity_counts ?? {},
|
|
2660
|
-
changed: Boolean(res.changed)
|
|
2661
|
+
changed: Boolean(res.changed),
|
|
2662
|
+
...dropped.length ? {
|
|
2663
|
+
dropped_build_outputs: dropped,
|
|
2664
|
+
next: `gateway worlds schema compile ${dir} # rebuilds the snapshots from the imported data`
|
|
2665
|
+
} : {}
|
|
2661
2666
|
};
|
|
2662
2667
|
}
|
|
2663
2668
|
function dropBuildOutputs(dir) {
|
|
@@ -3483,6 +3488,7 @@ var init_ingest = __esm({
|
|
|
3483
3488
|
// src/worlds/index.ts
|
|
3484
3489
|
var worlds_exports = {};
|
|
3485
3490
|
__export(worlds_exports, {
|
|
3491
|
+
ApiError: () => ApiError2,
|
|
3486
3492
|
BrowserActionRecorder: () => BrowserActionRecorder,
|
|
3487
3493
|
COMPUTER_USE_SPECS: () => COMPUTER_USE_SPECS,
|
|
3488
3494
|
DEFAULT_BRANCH: () => DEFAULT_BRANCH,
|
|
@@ -3591,11 +3597,7 @@ async function apiRequest(options, method, path9, body) {
|
|
|
3591
3597
|
...body === void 0 ? {} : { body: JSON.stringify(body) }
|
|
3592
3598
|
});
|
|
3593
3599
|
const text2 = await res.text();
|
|
3594
|
-
if (!res.ok)
|
|
3595
|
-
throw new Error(
|
|
3596
|
-
`${method} ${path9} -> ${res.status}: ${text2.slice(0, 400)}`
|
|
3597
|
-
);
|
|
3598
|
-
}
|
|
3600
|
+
if (!res.ok) throw new ApiError2(res.status, method, path9, text2.slice(0, 400));
|
|
3599
3601
|
return JSON.parse(text2);
|
|
3600
3602
|
}
|
|
3601
3603
|
async function setEnvSecret(slug, key, value, options = {}) {
|
|
@@ -3747,7 +3749,7 @@ async function openWorld(slugRef, options = {}) {
|
|
|
3747
3749
|
}
|
|
3748
3750
|
return world;
|
|
3749
3751
|
}
|
|
3750
|
-
var WorldTask, WorldSet;
|
|
3752
|
+
var ApiError2, WorldTask, WorldSet;
|
|
3751
3753
|
var init_worlds = __esm({
|
|
3752
3754
|
"src/worlds/index.ts"() {
|
|
3753
3755
|
"use strict";
|
|
@@ -3762,6 +3764,13 @@ var init_worlds = __esm({
|
|
|
3762
3764
|
init_query();
|
|
3763
3765
|
init_migrate();
|
|
3764
3766
|
init_ingest();
|
|
3767
|
+
ApiError2 = class extends Error {
|
|
3768
|
+
constructor(status, method, path9, body) {
|
|
3769
|
+
super(`${method} ${path9} -> ${status}: ${body}`);
|
|
3770
|
+
this.status = status;
|
|
3771
|
+
this.name = "ApiError";
|
|
3772
|
+
}
|
|
3773
|
+
};
|
|
3765
3774
|
WorldTask = class {
|
|
3766
3775
|
constructor(world, name, variant) {
|
|
3767
3776
|
this.world = world;
|
|
@@ -3832,7 +3841,7 @@ var require_package = __commonJS({
|
|
|
3832
3841
|
"package.json"(exports2, module2) {
|
|
3833
3842
|
module2.exports = {
|
|
3834
3843
|
name: "@withgateway/sdk",
|
|
3835
|
-
version: "0.2.
|
|
3844
|
+
version: "0.2.3",
|
|
3836
3845
|
description: "Gateway SDK for TypeScript - A/B experiments, tracing, and observability",
|
|
3837
3846
|
main: "./dist/index.js",
|
|
3838
3847
|
module: "./dist/index.mjs",
|
|
@@ -4025,6 +4034,7 @@ var require_package = __commonJS({
|
|
|
4025
4034
|
var src_exports = {};
|
|
4026
4035
|
__export(src_exports, {
|
|
4027
4036
|
AGENT_ID_KEY: () => AGENT_ID_KEY,
|
|
4037
|
+
ApiError: () => ApiError2,
|
|
4028
4038
|
BrowserActionRecorder: () => BrowserActionRecorder,
|
|
4029
4039
|
COMPUTER_USE_SPECS: () => COMPUTER_USE_SPECS,
|
|
4030
4040
|
DEFAULT_BRANCH: () => DEFAULT_BRANCH,
|
|
@@ -8159,6 +8169,7 @@ var tracing = {
|
|
|
8159
8169
|
// Annotate the CommonJS export names for ESM import in node:
|
|
8160
8170
|
0 && (module.exports = {
|
|
8161
8171
|
AGENT_ID_KEY,
|
|
8172
|
+
ApiError,
|
|
8162
8173
|
BrowserActionRecorder,
|
|
8163
8174
|
COMPUTER_USE_SPECS,
|
|
8164
8175
|
DEFAULT_BRANCH,
|