@osdk/api 2.87.0 → 2.88.0-main-1c7d042022c0223d9ffbba2b8fbf0420d9d3c64a

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @osdk/api
2
2
 
3
+ ## 2.88.0-main-1c7d042022c0223d9ffbba2b8fbf0420d9d3c64a
4
+
5
+ ### Minor Changes
6
+
7
+ - eb1fc8f: Add experimental support for reading agent session state.
8
+
3
9
  ## 2.87.0
4
10
 
5
11
  ### Minor Changes
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Copyright 2026 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ /** @beta */
18
+ export class AgentGetStateTimeoutError extends Error {
19
+ constructor() {
20
+ super("Agent session state reading timed out");
21
+ this.name = "AgentGetStateTimeoutError";
22
+ }
23
+ }
24
+ //# sourceMappingURL=AgentGetStateTimeoutError.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentGetStateTimeoutError.js","names":["AgentGetStateTimeoutError","Error","constructor","name"],"sources":["AgentGetStateTimeoutError.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @beta */\nexport class AgentGetStateTimeoutError extends Error {\n constructor() {\n super(\"Agent session state reading timed out\");\n this.name = \"AgentGetStateTimeoutError\";\n }\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAAO,MAAMA,yBAAyB,SAASC,KAAK,CAAC;EACnDC,WAAWA,CAAA,EAAG;IACZ,KAAK,CAAC,uCAAuC,CAAC;IAC9C,IAAI,CAACC,IAAI,GAAG,2BAA2B;EACzC;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"AgentSession.js","names":[],"sources":["AgentSession.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @beta */\nexport interface AgentSendEventOptions {\n /**\n * The duration in milliseconds to wait for the event to be accepted.\n *\n * Defaults to 30 seconds.\n */\n $timeoutMs?: number;\n\n /**\n * The delay in milliseconds between attempts when the session is not ready to accept events.\n *\n * Defaults to 1 second.\n */\n $pollIntervalMs?: number;\n}\n\n/** @beta */\nexport interface AgentSession {\n readonly id: string;\n\n /**\n * Sends an event to a session. Blocks until the event has been accepted, up to the specified timeout.\n *\n * @throws {AgentSendEventTimeoutError} if the session does not become ready to accept events within the specified timeout.\n *\n * @beta\n */\n experimental_sendEvent(\n event: Record<string, unknown>,\n options?: AgentSendEventOptions,\n ): Promise<void>;\n}\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"AgentSession.js","names":[],"sources":["AgentSession.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @beta */\nexport interface AgentSession {\n readonly id: string;\n\n /**\n * Gets the state of the session. Polls internally until the session state has caught up to the latest\n * known event.\n *\n * @throws {AgentGetStateTimeoutError} if the session state does not catch up within the specified timeout.\n *\n * @beta\n */\n experimental_getState(\n $options?: AgentGetStateOptions,\n ): Promise<AgentSessionState>;\n\n /**\n * Sends an event to a session. Blocks until the event has been accepted, up to the specified timeout.\n *\n * @throws {AgentSendEventTimeoutError} if the session does not become ready to accept events within the specified timeout.\n *\n * @beta\n */\n experimental_sendEvent(\n event: Record<string, unknown>,\n $options?: AgentSendEventOptions,\n ): Promise<void>;\n}\n\n/** @beta */\nexport interface AgentGetStateOptions {\n /**\n * The duration in milliseconds to wait for the session to catch up.\n *\n * Defaults to 30 seconds.\n */\n $timeoutMs?: number;\n /**\n * The delay in milliseconds between reads when the session has not caught up.\n *\n * Defaults to 1 second.\n */\n $pollIntervalMs?: number;\n}\n\n/** @beta */\nexport type AgentSessionStatus = \"live\" | \"completed\" | \"failed\" | \"canceled\";\n\n/** @beta */\nexport interface AgentContextItem {\n type: string;\n data: unknown;\n}\n\n/** @beta */\nexport interface AgentSessionState {\n arguments: Record<string, unknown>;\n status: AgentSessionStatus;\n agentState: { data: unknown };\n contextItems: Record<string, AgentContextItem>;\n contextItemOrder: string[];\n}\n\n/** @beta */\nexport interface AgentSendEventOptions {\n /**\n * The duration in milliseconds to wait for the event to be accepted.\n *\n * Defaults to 30 seconds.\n */\n $timeoutMs?: number;\n\n /**\n * The delay in milliseconds between attempts when the session is not ready to accept events.\n *\n * Defaults to 1 second.\n */\n $pollIntervalMs?: number;\n}\n"],"mappings":"","ignoreList":[]}
@@ -14,6 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
+ export { AgentGetStateTimeoutError } from "../agents/AgentGetStateTimeoutError.js";
17
18
  export { AgentSendEventTimeoutError } from "../agents/AgentSendEventTimeoutError.js";
18
19
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from "../experimental/executeStreamingFunction.js";
19
20
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from "../experimental/fetchOneByRid.js";
@@ -1 +1 @@
1
- {"version":3,"file":"unstable.js","names":["AgentSendEventTimeoutError","__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions","__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet","transformAndWait","MediaTransformationError","MediaTransformationFailedError","MediaTransformationTimeoutError","configToShapeDefinition","createShapeBuilder","isSourcePkSymbol","ShapeNullabilityError","SourcePrimaryKeySymbol"],"sources":["unstable.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type { AgentParam } from \"../agents/AgentParam.js\";\nexport type { AgentDefinition } from \"../agents/AgentDefinition.js\";\nexport { AgentSendEventTimeoutError } from \"../agents/AgentSendEventTimeoutError.js\";\nexport type {\n AgentSendEventOptions,\n AgentSession,\n} from \"../agents/AgentSession.js\";\nexport type { Experiment, ExperimentFns } from \"../experimental/Experiment.js\";\n\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from \"../experimental/executeStreamingFunction.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from \"../experimental/fetchOneByRid.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid,\n type FetchPageByRidPayload,\n} from \"../experimental/fetchPageByRid.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions,\n type LinkSubscription,\n} from \"../experimental/subscribeToLinks.js\";\nexport type {\n AnnotateGeometry,\n Annotation,\n ArchiveEncoding,\n AudioEncoding,\n AudioOperation,\n AudioToTextOperation,\n BoundingBox,\n Color,\n ContrastType,\n DicomToImageOperation,\n DocumentEncoding,\n DocumentTextExtractionConfig,\n DocumentToDocumentOperation,\n DocumentToImageOperation,\n DocumentToTextOperation,\n EmailToAttachmentOperation,\n EmailToTextOperation,\n ImageOperation,\n ImagePixelCoordinate,\n ImageRegionPolygon,\n ImageryEncoding,\n ImageSpec,\n ImageToDocumentOperation,\n ImageToEmbeddingOperation,\n ImageToTextOperation,\n LayoutAwareExtractionParameters,\n LlmSpec,\n MediaTransformation,\n OcrLanguage,\n OcrLanguageOrScript,\n OcrOutputFormat,\n OcrParameters,\n OcrScript,\n PageRange,\n SpreadsheetToTextOperation,\n TranscribeOutputFormat,\n TranscriptionLanguage,\n VideoEncoding,\n VideoOperation,\n VideoToArchiveOperation,\n VideoToAudioOperation,\n VideoToImageOperation,\n VideoToTextOperation,\n VlmPreprocessingConfig,\n} from \"../experimental/MediaTransformation.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet } from \"../experimental/subscribeToNoTypeObjectSet.js\";\nexport {\n transformAndWait,\n type TransformOptions,\n} from \"../experimental/transformAndWait.js\";\nexport {\n MediaTransformationError,\n MediaTransformationFailedError,\n MediaTransformationTimeoutError,\n} from \"../object/MediaTransformationErrors.js\";\n\nexport type { EXPERIMENTAL_BulkLinkResult } from \"../objectSet/BulkLinkResult.js\";\nexport type { MinimalObjectSet } from \"../objectSet/ObjectSet.js\";\n\n// Shapes (unstable — will graduate to @osdk/api/shapes when stable)\nexport {\n configToShapeDefinition,\n createShapeBuilder,\n isSourcePkSymbol,\n ShapeNullabilityError,\n SourcePrimaryKeySymbol,\n} from \"../shapes/index.js\";\n\nexport type {\n InferShapeDefinition,\n InlineLinkConfig,\n InlineShapeConfig,\n LinkLoadConfig,\n LinkStatus,\n NullabilityViolation,\n PropertyType,\n RequiredProperty,\n ShapeBaseType,\n ShapeBuilder,\n ShapeDefinition,\n ShapeDerivedLinks,\n ShapeInstance,\n ShapeLinkBuilder,\n ShapeLinkResult,\n} from \"../shapes/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,SAASA,0BAA0B,QAAQ,yCAAyC;AAOpF,SAASC,2DAA2D,QAAQ,6CAA6C;AACzH,SAASC,gDAAgD,QAAQ,kCAAkC;AACnG,SACEC,iDAAiD,QAE5C,mCAAmC;AAC1C,SAASC,+CAA+C,QAAQ,iCAAiC;AACjG,SACEC,oDAAoD,QAE/C,qCAAqC;AA+C5C,SAASC,6DAA6D,QAAQ,+CAA+C;AAC7H,SACEC,gBAAgB,QAEX,qCAAqC;AAC5C,SACEC,wBAAwB,EACxBC,8BAA8B,EAC9BC,+BAA+B,QAC1B,wCAAwC;AAK/C;AACA,SACEC,uBAAuB,EACvBC,kBAAkB,EAClBC,gBAAgB,EAChBC,qBAAqB,EACrBC,sBAAsB,QACjB,oBAAoB","ignoreList":[]}
1
+ {"version":3,"file":"unstable.js","names":["AgentGetStateTimeoutError","AgentSendEventTimeoutError","__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions","__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet","transformAndWait","MediaTransformationError","MediaTransformationFailedError","MediaTransformationTimeoutError","configToShapeDefinition","createShapeBuilder","isSourcePkSymbol","ShapeNullabilityError","SourcePrimaryKeySymbol"],"sources":["unstable.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type { AgentParam } from \"../agents/AgentParam.js\";\nexport type { AgentDefinition } from \"../agents/AgentDefinition.js\";\nexport { AgentGetStateTimeoutError } from \"../agents/AgentGetStateTimeoutError.js\";\nexport { AgentSendEventTimeoutError } from \"../agents/AgentSendEventTimeoutError.js\";\nexport type {\n AgentContextItem,\n AgentGetStateOptions,\n AgentSessionState,\n AgentSessionStatus,\n AgentSendEventOptions,\n AgentSession,\n} from \"../agents/AgentSession.js\";\nexport type { Experiment, ExperimentFns } from \"../experimental/Experiment.js\";\n\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from \"../experimental/executeStreamingFunction.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from \"../experimental/fetchOneByRid.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid,\n type FetchPageByRidPayload,\n} from \"../experimental/fetchPageByRid.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions,\n type LinkSubscription,\n} from \"../experimental/subscribeToLinks.js\";\nexport type {\n AnnotateGeometry,\n Annotation,\n ArchiveEncoding,\n AudioEncoding,\n AudioOperation,\n AudioToTextOperation,\n BoundingBox,\n Color,\n ContrastType,\n DicomToImageOperation,\n DocumentEncoding,\n DocumentTextExtractionConfig,\n DocumentToDocumentOperation,\n DocumentToImageOperation,\n DocumentToTextOperation,\n EmailToAttachmentOperation,\n EmailToTextOperation,\n ImageOperation,\n ImagePixelCoordinate,\n ImageRegionPolygon,\n ImageryEncoding,\n ImageSpec,\n ImageToDocumentOperation,\n ImageToEmbeddingOperation,\n ImageToTextOperation,\n LayoutAwareExtractionParameters,\n LlmSpec,\n MediaTransformation,\n OcrLanguage,\n OcrLanguageOrScript,\n OcrOutputFormat,\n OcrParameters,\n OcrScript,\n PageRange,\n SpreadsheetToTextOperation,\n TranscribeOutputFormat,\n TranscriptionLanguage,\n VideoEncoding,\n VideoOperation,\n VideoToArchiveOperation,\n VideoToAudioOperation,\n VideoToImageOperation,\n VideoToTextOperation,\n VlmPreprocessingConfig,\n} from \"../experimental/MediaTransformation.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet } from \"../experimental/subscribeToNoTypeObjectSet.js\";\nexport {\n transformAndWait,\n type TransformOptions,\n} from \"../experimental/transformAndWait.js\";\nexport {\n MediaTransformationError,\n MediaTransformationFailedError,\n MediaTransformationTimeoutError,\n} from \"../object/MediaTransformationErrors.js\";\n\nexport type { EXPERIMENTAL_BulkLinkResult } from \"../objectSet/BulkLinkResult.js\";\nexport type { MinimalObjectSet } from \"../objectSet/ObjectSet.js\";\n\n// Shapes (unstable — will graduate to @osdk/api/shapes when stable)\nexport {\n configToShapeDefinition,\n createShapeBuilder,\n isSourcePkSymbol,\n ShapeNullabilityError,\n SourcePrimaryKeySymbol,\n} from \"../shapes/index.js\";\n\nexport type {\n InferShapeDefinition,\n InlineLinkConfig,\n InlineShapeConfig,\n LinkLoadConfig,\n LinkStatus,\n NullabilityViolation,\n PropertyType,\n RequiredProperty,\n ShapeBaseType,\n ShapeBuilder,\n ShapeDefinition,\n ShapeDerivedLinks,\n ShapeInstance,\n ShapeLinkBuilder,\n ShapeLinkResult,\n} from \"../shapes/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,SAASA,yBAAyB,QAAQ,wCAAwC;AAClF,SAASC,0BAA0B,QAAQ,yCAAyC;AAWpF,SAASC,2DAA2D,QAAQ,6CAA6C;AACzH,SAASC,gDAAgD,QAAQ,kCAAkC;AACnG,SACEC,iDAAiD,QAE5C,mCAAmC;AAC1C,SAASC,+CAA+C,QAAQ,iCAAiC;AACjG,SACEC,oDAAoD,QAE/C,qCAAqC;AA+C5C,SAASC,6DAA6D,QAAQ,+CAA+C;AAC7H,SACEC,gBAAgB,QAEX,qCAAqC;AAC5C,SACEC,wBAAwB,EACxBC,8BAA8B,EAC9BC,+BAA+B,QAC1B,wCAAwC;AAK/C;AACA,SACEC,uBAAuB,EACvBC,kBAAkB,EAClBC,gBAAgB,EAChBC,qBAAqB,EACrBC,sBAAsB,QACjB,oBAAoB","ignoreList":[]}
@@ -1,5 +1,13 @@
1
1
  'use strict';
2
2
 
3
+ // src/agents/AgentGetStateTimeoutError.ts
4
+ var AgentGetStateTimeoutError = class extends Error {
5
+ constructor() {
6
+ super("Agent session state reading timed out");
7
+ this.name = "AgentGetStateTimeoutError";
8
+ }
9
+ };
10
+
3
11
  // src/agents/AgentSendEventTimeoutError.ts
4
12
  var AgentSendEventTimeoutError = class extends Error {
5
13
  constructor() {
@@ -473,6 +481,7 @@ function configToShapeDefinition(baseType, config) {
473
481
  };
474
482
  }
475
483
 
484
+ exports.AgentGetStateTimeoutError = AgentGetStateTimeoutError;
476
485
  exports.AgentSendEventTimeoutError = AgentSendEventTimeoutError;
477
486
  exports.MediaTransformationError = MediaTransformationError;
478
487
  exports.MediaTransformationFailedError = MediaTransformationFailedError;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/agents/AgentSendEventTimeoutError.ts","../../../src/experimental/executeStreamingFunction.ts","../../../src/experimental/fetchOneByRid.ts","../../../src/experimental/fetchPageByRid.ts","../../../src/experimental/getBulkLinks.ts","../../../src/experimental/subscribeToLinks.ts","../../../src/experimental/subscribeToNoTypeObjectSet.ts","../../../src/experimental/transformAndWait.ts","../../../src/object/MediaTransformationErrors.ts","../../../src/shapes/ShapeDefinition.ts","../../../src/shapes/computeShapeId.ts","../../../src/shapes/ShapeBuilder.ts","../../../src/shapes/configToShapeDefinition.ts"],"names":[],"mappings":";;;AAiBO,IAAM,0BAAA,GAAN,cAAyC,KAAA,CAAM;AAAA,EACpD,WAAA,GAAc;AACZ,IAAA,KAAA,CAAM,+BAA+B,CAAA;AACrC,IAAA,IAAA,CAAK,IAAA,GAAO,4BAAA;AAAA,EACd;AACF;;;ACGO,IAAM,2DAAA,GAA8D;AAAA,EACzE,IAAA,EAAM,6DAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACbO,IAAM,gDAAA,GAAmD;AAAA,EAC9D,IAAA,EAAM,kDAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,OAAA,EAAS;AACX;;;ACJO,IAAM,iDAAA,GAAoD;AAAA,EAC/D,IAAA,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AAQ,MAAA,CAAO,KAAK,CAAA,EAAG;AAC7D,MAAA,MAAM,WAAA,GAAc,uBAAuB,eAAe,CAAA;AAC1D,MAAA,MAAM,SAAA,GAAY,UAAA,CAAW,GAAA,CAAI,WAAW,CAAA;AAC5C,MAAA,MAAM,YAAA,GAAe,UAAU,cAAA,EAAe;AAC9C,MAAA,MAAM,cAAc,UAAA,CAAW,MAAA;AAC/B,MAAA,YAAA,CAAa,IAAA,CAAK;AAAA,QAChB,IAAA;AAAA,QACA,YAAA;AAAA,QACA,WAAA;AAAA,QACA,MAAA,EAAQ;AAAA,UACN,OAAO,UAAA,CAAW;AAAA;AACpB,OACD,CAAA;AAAA,IACH;AAAA,EACF;AACA,EAAA,MAAM,UAAU,cAAA,CAAe;AAAA,IAC7B,eAAA;AAAA,IACA,KAAA;AAAA,IACA;AAAA,GACD,CAAA;AACD,EAAA,OAAO;AAAA,IACL,SAAA,EAAW,OAAA;AAAA,IACX,WAAA,EAAa,MAAA;AAAA,IACb,UAAA,EAAY,QAAA;AAAA,IACZ,iBAAA,EAAmB,eAAA;AAAA,IACnB,OAAA,EAAS,OAAO,MAAA,CAAO;AAAA,MACrB,GAAG;AAAA,KACJ,CAAA;AAAA,IACD,gBAAgB,MAAA,CAAO,MAAA,CAAO,CAAC,GAAG,YAAY,CAAC,CAAA;AAAA,IAC/C,qBAAqB,EAAC;AAAA,IACtB,oBAAoB;AAAC,GACvB;AACF","file":"unstable.cjs","sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @beta */\nexport class AgentSendEventTimeoutError extends Error {\n constructor() {\n super(\"Agent event sending timed out\");\n this.name = \"AgentSendEventTimeoutError\";\n }\n}","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Executes a query as a streaming function, yielding results as they arrive\n * from the server. Queries whose declared output is an array are delivered in\n * batches and flattened, so the iterable yields one element at a time rather\n * than one batch at a time.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction\",\n type: \"experiment\",\n version: \"2.19.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid\",\n type: \"experiment\",\n version: \"2.1.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid\",\n type: \"experiment\",\n version: \"2.2.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks\",\n type: \"experiment\",\n version: \"2.0.8\"\n};","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport let LinkSubscription;\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions\",\n type: \"experiment\",\n version: \"2.59.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet\",\n type: \"experiment\",\n version: \"2.19.0\"\n};","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Options for polling a media transformation job.\n *\n * @experimental\n */\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Submits a transformation job for a media item, polls until completion,\n * and returns the transformed content.\n *\n * @param args.media - The media item to transform\n * @param args.transformation - The {@link MediaTransformation} to apply\n * @param args.options - Polling options (interval and timeout)\n *\n * @returns The transformed media content as a Response\n */\n\nexport const transformAndWait = {\n name: \"transformAndWait\",\n type: \"experiment\",\n version: \"2.8.0\"\n};","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Base error for media transformation failures.\n * @beta\n */\nexport class MediaTransformationError extends Error {\n constructor(message) {\n super(message);\n this.name = \"MediaTransformationError\";\n }\n}\n\n/**\n * Thrown when a media transformation job exceeds the poll timeout.\n * @beta\n */\nexport class MediaTransformationTimeoutError extends MediaTransformationError {\n constructor(jobId) {\n super(`Transformation job ${jobId} timed out polling status`);\n this.name = \"MediaTransformationTimeoutError\";\n }\n}\n\n/**\n * Thrown when a media transformation job status is FAILED.\n * @beta\n */\nexport class MediaTransformationFailedError extends MediaTransformationError {\n constructor(jobId) {\n super(`Transformation job ${jobId} failed`);\n this.name = \"MediaTransformationFailedError\";\n }\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const SourcePrimaryKeySymbol = Symbol.for(\"osdk.query.$sourcePk\");\nconst LegacyShapesSymbol = Symbol.for(\"osdk.shapes.$primaryKey\");\nexport function isSourcePkSymbol(value) {\n return typeof value === \"symbol\" && (value === SourcePrimaryKeySymbol || value === LegacyShapesSymbol);\n}\n\n/** Configuration for how a derived link is loaded at runtime. */\n\n/** The result of calling `ShapeLinkBuilder.as()`, binding a link traversal to a target shape. */\n\n/** A single link traversal step in a derived link's object set definition. */\n\n/** Sort clause for a derived link's result set. */\n\n/** A set operation (union/intersect/subtract) applied to a derived link's object set. */\n\n/** Serializable definition of a derived link's object set: link traversals, filters, ordering, and set operations. */\n\n/** How a shape handles null values for a selected property. */\n\n/** Per-property configuration stored in a shape's `__props` map. */\n\n/** A derived link definition stored in a shape's `__derivedLinks` array. */\n\n/**\n * Type projection from an OSDK type. `__props` is the single source of truth for property config.\n *\n * @typeParam BASE - The base ObjectTypeDefinition or InterfaceDefinition\n * @typeParam SELECTED_PROPS - Record of selected properties and their transformed types\n * @typeParam DERIVED_LINKS - Record of derived link names to their result types\n */\n\nexport class ShapeNullabilityError extends Error {\n constructor(shape, violations) {\n const props = violations.map(v => v.property).join(\", \");\n const shapeName = shape.__debugName ?? shape.__shapeId;\n super(`Shape \"${shapeName}\" requires these properties to be non-null: ${props}`);\n this.shape = shape;\n this.violations = violations;\n this.name = \"ShapeNullabilityError\";\n }\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nfunction sortedStringify(obj) {\n return JSON.stringify(obj, (_, v) => v && typeof v === \"object\" && !Array.isArray(v) ? Object.fromEntries(Object.entries(v).sort(([a], [b]) => a.localeCompare(b))) : v);\n}\n\n/**\n * Computes a stable, deterministic identifier for a shape definition.\n * The ID uniquely represents the combination of base type, property\n * selections/nullability configs, and derived link definitions so\n * that identical shapes produce the same ID across calls.\n */\nexport function computeShapeId(input) {\n const canonical = canonicalizeShapeInput(input);\n return simpleHash(sortedStringify(canonical));\n}\nfunction canonicalizeShapeInput(input) {\n const sortedPropKeys = [...Object.keys(input.props)].sort();\n const canonicalProps = {};\n for (const key of sortedPropKeys) {\n const config = input.props[key];\n const op = config.nullabilityOp;\n canonicalProps[key] = op.type === \"withDefault\" ? {\n type: op.type,\n defaultValue: op.defaultValue\n } : op.type;\n }\n const canonicalLinks = input.derivedLinks.map(link => ({\n name: link.name,\n objectSetDef: canonicalizeObjectSetDef(link.objectSetDef),\n targetShapeId: link.targetShape.__shapeId\n }));\n canonicalLinks.sort((a, b) => a.name.localeCompare(b.name));\n return {\n baseType: input.baseTypeApiName,\n props: canonicalProps,\n links: canonicalLinks\n };\n}\nfunction canonicalizeObjectSetDef(def) {\n const result = {\n segments: def.segments.map(seg => ({\n type: seg.type,\n linkName: seg.linkName,\n sourceType: seg.sourceType\n }))\n };\n if (def.where) {\n result.where = JSON.parse(sortedStringify(def.where));\n }\n if (def.orderBy && def.orderBy.length > 0) {\n result.orderBy = def.orderBy.map(o => ({\n property: o.property,\n direction: o.direction\n }));\n }\n if (def.limit !== undefined) {\n result.limit = def.limit;\n }\n if (def.distinct) {\n result.distinct = true;\n }\n if (def.setOperations && def.setOperations.length > 0) {\n result.setOperations = def.setOperations.map(op => ({\n type: op.type,\n other: canonicalizeObjectSetDef(op.other)\n }));\n }\n return result;\n}\n\n// Shape IDs are used for cache keying and equality, not security,\n// so 32-bit is sufficient.\nfunction simpleHash(str) {\n let hash = 5381;\n for (let i = 0; i < str.length; i++) {\n const char = str.charCodeAt(i);\n hash = (hash << 5) + hash ^ char;\n }\n const positiveHash = hash >>> 0;\n return positiveHash.toString(16).padStart(8, \"0\");\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { computeShapeId } from \"./computeShapeId.js\";\nimport { SourcePrimaryKeySymbol } from \"./ShapeDefinition.js\";\nclass ShapeBuilderImpl {\n #state;\n constructor(state) {\n this.#state = state;\n }\n #addProps(props, type) {\n const newProps = {\n ...this.#state.props\n };\n for (const prop of props) {\n newProps[prop] = {\n nullabilityOp: {\n type\n }\n };\n }\n return newProps;\n }\n select(...props) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: this.#addProps(props, \"select\")\n });\n }\n require(...props) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: this.#addProps(props, \"require\")\n });\n }\n dropIfNull(...props) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: this.#addProps(props, \"dropIfNull\")\n });\n }\n withDefault(prop, defaultValue) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: {\n ...this.#state.props,\n [prop]: {\n nullabilityOp: {\n type: \"withDefault\",\n defaultValue\n }\n }\n }\n });\n }\n withTransform(prop, transform) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: {\n ...this.#state.props,\n [prop]: {\n nullabilityOp: {\n type: \"withTransform\",\n transform\n }\n }\n }\n });\n }\n deriveLink(name, builder) {\n const linkBuilder = createShapeLinkBuilder(this.#state.baseTypeApiName);\n const linkResult = builder(linkBuilder);\n return new ShapeBuilderImpl({\n ...this.#state,\n props: {\n ...this.#state.props\n },\n derivedLinks: [...this.#state.derivedLinks, {\n name,\n objectSetDef: linkResult.objectSetDef,\n targetShape: linkResult.targetShape,\n config: linkResult.config\n }]\n });\n }\n build() {\n const shapeId = computeShapeId({\n baseTypeApiName: this.#state.baseTypeApiName,\n props: this.#state.props,\n derivedLinks: this.#state.derivedLinks\n });\n return {\n __shapeId: shapeId,\n __debugName: this.#state.debugName,\n __baseType: this.#state.baseType,\n __baseTypeApiName: this.#state.baseTypeApiName,\n __props: Object.freeze({\n ...this.#state.props\n }),\n __derivedLinks: Object.freeze([...this.#state.derivedLinks]),\n __selectedPropsType: {},\n __derivedLinksType: {}\n };\n }\n}\nclass ShapeLinkBuilderImpl {\n #state;\n $primaryKey = SourcePrimaryKeySymbol;\n constructor(state) {\n this.#state = state;\n }\n pivotTo(link) {\n const newSegments = [...this.#state.segments, {\n type: \"pivotTo\",\n linkName: link,\n sourceType: this.#state.currentTypeApiName\n // targetType is resolved at link execution time when link metadata is available\n }];\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n segments: newSegments,\n // currentTypeApiName is a hint for debugging; actual type resolution happens at execution\n currentTypeApiName: `${this.#state.currentTypeApiName}.${link}`\n });\n }\n\n /** Sets the where filter for this link. Calling multiple times replaces the previous clause (last-write-wins). */\n where(clause) {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n where: clause\n });\n }\n #setOp(type, others) {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n setOperations: [...this.#state.setOperations, ...others.map(other => ({\n type,\n other: other.toObjectSetDef()\n }))]\n });\n }\n union(...others) {\n return this.#setOp(\"union\", others);\n }\n intersect(...others) {\n return this.#setOp(\"intersect\", others);\n }\n subtract(...others) {\n return this.#setOp(\"subtract\", others);\n }\n orderBy(property, direction = \"asc\") {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n orderBy: [...this.#state.orderBy, {\n property: property,\n direction\n }]\n });\n }\n limit(n) {\n if (!Number.isInteger(n) || n <= 0) {\n throw new Error(`ShapeLinkBuilder.limit() requires a positive integer, got: ${n}`);\n }\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n limit: n\n });\n }\n distinct() {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n distinct: true\n });\n }\n as(shape, config = {}) {\n // The brand is a compile-time only marker, at runtime it's just undefined\n return {\n targetShape: shape,\n objectSetDef: this.toObjectSetDef(),\n config\n };\n }\n toObjectSetDef() {\n return {\n segments: Object.freeze([...this.#state.segments]),\n where: this.#state.where,\n orderBy: this.#state.orderBy.length > 0 ? Object.freeze([...this.#state.orderBy]) : undefined,\n limit: this.#state.limit,\n distinct: this.#state.distinct || undefined,\n setOperations: this.#state.setOperations.length > 0 ? Object.freeze([...this.#state.setOperations]) : undefined\n };\n }\n}\nexport function createShapeLinkBuilder(sourceTypeApiName) {\n return new ShapeLinkBuilderImpl({\n sourceTypeApiName,\n currentTypeApiName: sourceTypeApiName,\n segments: [],\n orderBy: [],\n distinct: false,\n setOperations: []\n });\n}\n\n/**\n * Creates a new ShapeBuilder for the given base type.\n *\n * @param baseType - The base ObjectTypeDefinition or InterfaceDefinition\n * @param debugName - Optional name for debugging in DevTools\n *\n * @example\n * ```typescript\n * const SlimPlayer = createShapeBuilder(Player, \"SlimPlayer\")\n * .require(\"name\", \"age\")\n * .withDefault(\"position\", \"Unknown\")\n * .build();\n * ```\n */\nexport function createShapeBuilder(baseType, debugName) {\n const state = {\n baseType,\n baseTypeApiName: baseType.apiName,\n debugName,\n props: {},\n derivedLinks: []\n };\n return new ShapeBuilderImpl(state);\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { computeShapeId } from \"./computeShapeId.js\";\nimport { createShapeLinkBuilder } from \"./ShapeBuilder.js\";\nexport function configToShapeDefinition(baseType, config) {\n const baseTypeApiName = baseType.apiName;\n const props = {};\n const seen = new Set();\n function addProp(prop, config2) {\n if (seen.has(prop)) {\n throw new Error(`Property \"${prop}\" appears in multiple config arrays`);\n }\n seen.add(prop);\n props[prop] = config2;\n }\n if (config.require) {\n for (const prop of config.require) {\n addProp(prop, {\n nullabilityOp: {\n type: \"require\"\n }\n });\n }\n }\n if (config.select) {\n for (const prop of config.select) {\n addProp(prop, {\n nullabilityOp: {\n type: \"select\"\n }\n });\n }\n }\n if (config.dropIfNull) {\n for (const prop of config.dropIfNull) {\n addProp(prop, {\n nullabilityOp: {\n type: \"dropIfNull\"\n }\n });\n }\n }\n if (config.defaults) {\n for (const [prop, defaultValue] of Object.entries(config.defaults)) {\n addProp(prop, {\n nullabilityOp: {\n type: \"withDefault\",\n defaultValue\n }\n });\n }\n }\n if (config.transforms) {\n for (const [prop, transform] of Object.entries(config.transforms)) {\n if (typeof transform !== \"function\") {\n throw new Error(`transforms[\"${prop}\"] must be a function, got: ${typeof transform}`);\n }\n addProp(prop, {\n nullabilityOp: {\n type: \"withTransform\",\n transform\n }\n });\n }\n }\n const derivedLinks = [];\n if (config.links) {\n for (const [name, linkConfig] of Object.entries(config.links)) {\n const linkBuilder = createShapeLinkBuilder(baseTypeApiName);\n const traversed = linkConfig.via(linkBuilder);\n const objectSetDef = traversed.toObjectSetDef();\n const targetShape = linkConfig.target;\n derivedLinks.push({\n name,\n objectSetDef,\n targetShape,\n config: {\n defer: linkConfig.defer\n }\n });\n }\n }\n const shapeId = computeShapeId({\n baseTypeApiName,\n props,\n derivedLinks\n });\n return {\n __shapeId: shapeId,\n __debugName: undefined,\n __baseType: baseType,\n __baseTypeApiName: baseTypeApiName,\n __props: Object.freeze({\n ...props\n }),\n __derivedLinks: Object.freeze([...derivedLinks]),\n __selectedPropsType: {},\n __derivedLinksType: {}\n };\n}"]}
1
+ {"version":3,"sources":["../../../src/agents/AgentGetStateTimeoutError.ts","../../../src/agents/AgentSendEventTimeoutError.ts","../../../src/experimental/executeStreamingFunction.ts","../../../src/experimental/fetchOneByRid.ts","../../../src/experimental/fetchPageByRid.ts","../../../src/experimental/getBulkLinks.ts","../../../src/experimental/subscribeToLinks.ts","../../../src/experimental/subscribeToNoTypeObjectSet.ts","../../../src/experimental/transformAndWait.ts","../../../src/object/MediaTransformationErrors.ts","../../../src/shapes/ShapeDefinition.ts","../../../src/shapes/computeShapeId.ts","../../../src/shapes/ShapeBuilder.ts","../../../src/shapes/configToShapeDefinition.ts"],"names":[],"mappings":";;;AAiBO,IAAM,yBAAA,GAAN,cAAwC,KAAA,CAAM;AAAA,EACnD,WAAA,GAAc;AACZ,IAAA,KAAA,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AAA,CAAO;AAAA,MACrB,GAAG;AAAA,KACJ,CAAA;AAAA,IACD,gBAAgB,MAAA,CAAO,MAAA,CAAO,CAAC,GAAG,YAAY,CAAC,CAAA;AAAA,IAC/C,qBAAqB,EAAC;AAAA,IACtB,oBAAoB;AAAC,GACvB;AACF","file":"unstable.cjs","sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @beta */\nexport class AgentGetStateTimeoutError extends Error {\n constructor() {\n super(\"Agent session state reading timed out\");\n this.name = \"AgentGetStateTimeoutError\";\n }\n}","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @beta */\nexport class AgentSendEventTimeoutError extends Error {\n constructor() {\n super(\"Agent event sending timed out\");\n this.name = \"AgentSendEventTimeoutError\";\n }\n}","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Executes a query as a streaming function, yielding results as they arrive\n * from the server. Queries whose declared output is an array are delivered in\n * batches and flattened, so the iterable yields one element at a time rather\n * than one batch at a time.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction\",\n type: \"experiment\",\n version: \"2.19.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid\",\n type: \"experiment\",\n version: \"2.1.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid\",\n type: \"experiment\",\n version: \"2.2.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks\",\n type: \"experiment\",\n version: \"2.0.8\"\n};","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport let LinkSubscription;\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions\",\n type: \"experiment\",\n version: \"2.59.0\"\n};","/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet\",\n type: \"experiment\",\n version: \"2.19.0\"\n};","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Options for polling a media transformation job.\n *\n * @experimental\n */\n\n/**\n * @experimental This feature is experimental and might change in the future.\n *\n * Submits a transformation job for a media item, polls until completion,\n * and returns the transformed content.\n *\n * @param args.media - The media item to transform\n * @param args.transformation - The {@link MediaTransformation} to apply\n * @param args.options - Polling options (interval and timeout)\n *\n * @returns The transformed media content as a Response\n */\n\nexport const transformAndWait = {\n name: \"transformAndWait\",\n type: \"experiment\",\n version: \"2.8.0\"\n};","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Base error for media transformation failures.\n * @beta\n */\nexport class MediaTransformationError extends Error {\n constructor(message) {\n super(message);\n this.name = \"MediaTransformationError\";\n }\n}\n\n/**\n * Thrown when a media transformation job exceeds the poll timeout.\n * @beta\n */\nexport class MediaTransformationTimeoutError extends MediaTransformationError {\n constructor(jobId) {\n super(`Transformation job ${jobId} timed out polling status`);\n this.name = \"MediaTransformationTimeoutError\";\n }\n}\n\n/**\n * Thrown when a media transformation job status is FAILED.\n * @beta\n */\nexport class MediaTransformationFailedError extends MediaTransformationError {\n constructor(jobId) {\n super(`Transformation job ${jobId} failed`);\n this.name = \"MediaTransformationFailedError\";\n }\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const SourcePrimaryKeySymbol = Symbol.for(\"osdk.query.$sourcePk\");\nconst LegacyShapesSymbol = Symbol.for(\"osdk.shapes.$primaryKey\");\nexport function isSourcePkSymbol(value) {\n return typeof value === \"symbol\" && (value === SourcePrimaryKeySymbol || value === LegacyShapesSymbol);\n}\n\n/** Configuration for how a derived link is loaded at runtime. */\n\n/** The result of calling `ShapeLinkBuilder.as()`, binding a link traversal to a target shape. */\n\n/** A single link traversal step in a derived link's object set definition. */\n\n/** Sort clause for a derived link's result set. */\n\n/** A set operation (union/intersect/subtract) applied to a derived link's object set. */\n\n/** Serializable definition of a derived link's object set: link traversals, filters, ordering, and set operations. */\n\n/** How a shape handles null values for a selected property. */\n\n/** Per-property configuration stored in a shape's `__props` map. */\n\n/** A derived link definition stored in a shape's `__derivedLinks` array. */\n\n/**\n * Type projection from an OSDK type. `__props` is the single source of truth for property config.\n *\n * @typeParam BASE - The base ObjectTypeDefinition or InterfaceDefinition\n * @typeParam SELECTED_PROPS - Record of selected properties and their transformed types\n * @typeParam DERIVED_LINKS - Record of derived link names to their result types\n */\n\nexport class ShapeNullabilityError extends Error {\n constructor(shape, violations) {\n const props = violations.map(v => v.property).join(\", \");\n const shapeName = shape.__debugName ?? shape.__shapeId;\n super(`Shape \"${shapeName}\" requires these properties to be non-null: ${props}`);\n this.shape = shape;\n this.violations = violations;\n this.name = \"ShapeNullabilityError\";\n }\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nfunction sortedStringify(obj) {\n return JSON.stringify(obj, (_, v) => v && typeof v === \"object\" && !Array.isArray(v) ? Object.fromEntries(Object.entries(v).sort(([a], [b]) => a.localeCompare(b))) : v);\n}\n\n/**\n * Computes a stable, deterministic identifier for a shape definition.\n * The ID uniquely represents the combination of base type, property\n * selections/nullability configs, and derived link definitions so\n * that identical shapes produce the same ID across calls.\n */\nexport function computeShapeId(input) {\n const canonical = canonicalizeShapeInput(input);\n return simpleHash(sortedStringify(canonical));\n}\nfunction canonicalizeShapeInput(input) {\n const sortedPropKeys = [...Object.keys(input.props)].sort();\n const canonicalProps = {};\n for (const key of sortedPropKeys) {\n const config = input.props[key];\n const op = config.nullabilityOp;\n canonicalProps[key] = op.type === \"withDefault\" ? {\n type: op.type,\n defaultValue: op.defaultValue\n } : op.type;\n }\n const canonicalLinks = input.derivedLinks.map(link => ({\n name: link.name,\n objectSetDef: canonicalizeObjectSetDef(link.objectSetDef),\n targetShapeId: link.targetShape.__shapeId\n }));\n canonicalLinks.sort((a, b) => a.name.localeCompare(b.name));\n return {\n baseType: input.baseTypeApiName,\n props: canonicalProps,\n links: canonicalLinks\n };\n}\nfunction canonicalizeObjectSetDef(def) {\n const result = {\n segments: def.segments.map(seg => ({\n type: seg.type,\n linkName: seg.linkName,\n sourceType: seg.sourceType\n }))\n };\n if (def.where) {\n result.where = JSON.parse(sortedStringify(def.where));\n }\n if (def.orderBy && def.orderBy.length > 0) {\n result.orderBy = def.orderBy.map(o => ({\n property: o.property,\n direction: o.direction\n }));\n }\n if (def.limit !== undefined) {\n result.limit = def.limit;\n }\n if (def.distinct) {\n result.distinct = true;\n }\n if (def.setOperations && def.setOperations.length > 0) {\n result.setOperations = def.setOperations.map(op => ({\n type: op.type,\n other: canonicalizeObjectSetDef(op.other)\n }));\n }\n return result;\n}\n\n// Shape IDs are used for cache keying and equality, not security,\n// so 32-bit is sufficient.\nfunction simpleHash(str) {\n let hash = 5381;\n for (let i = 0; i < str.length; i++) {\n const char = str.charCodeAt(i);\n hash = (hash << 5) + hash ^ char;\n }\n const positiveHash = hash >>> 0;\n return positiveHash.toString(16).padStart(8, \"0\");\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { computeShapeId } from \"./computeShapeId.js\";\nimport { SourcePrimaryKeySymbol } from \"./ShapeDefinition.js\";\nclass ShapeBuilderImpl {\n #state;\n constructor(state) {\n this.#state = state;\n }\n #addProps(props, type) {\n const newProps = {\n ...this.#state.props\n };\n for (const prop of props) {\n newProps[prop] = {\n nullabilityOp: {\n type\n }\n };\n }\n return newProps;\n }\n select(...props) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: this.#addProps(props, \"select\")\n });\n }\n require(...props) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: this.#addProps(props, \"require\")\n });\n }\n dropIfNull(...props) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: this.#addProps(props, \"dropIfNull\")\n });\n }\n withDefault(prop, defaultValue) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: {\n ...this.#state.props,\n [prop]: {\n nullabilityOp: {\n type: \"withDefault\",\n defaultValue\n }\n }\n }\n });\n }\n withTransform(prop, transform) {\n return new ShapeBuilderImpl({\n ...this.#state,\n props: {\n ...this.#state.props,\n [prop]: {\n nullabilityOp: {\n type: \"withTransform\",\n transform\n }\n }\n }\n });\n }\n deriveLink(name, builder) {\n const linkBuilder = createShapeLinkBuilder(this.#state.baseTypeApiName);\n const linkResult = builder(linkBuilder);\n return new ShapeBuilderImpl({\n ...this.#state,\n props: {\n ...this.#state.props\n },\n derivedLinks: [...this.#state.derivedLinks, {\n name,\n objectSetDef: linkResult.objectSetDef,\n targetShape: linkResult.targetShape,\n config: linkResult.config\n }]\n });\n }\n build() {\n const shapeId = computeShapeId({\n baseTypeApiName: this.#state.baseTypeApiName,\n props: this.#state.props,\n derivedLinks: this.#state.derivedLinks\n });\n return {\n __shapeId: shapeId,\n __debugName: this.#state.debugName,\n __baseType: this.#state.baseType,\n __baseTypeApiName: this.#state.baseTypeApiName,\n __props: Object.freeze({\n ...this.#state.props\n }),\n __derivedLinks: Object.freeze([...this.#state.derivedLinks]),\n __selectedPropsType: {},\n __derivedLinksType: {}\n };\n }\n}\nclass ShapeLinkBuilderImpl {\n #state;\n $primaryKey = SourcePrimaryKeySymbol;\n constructor(state) {\n this.#state = state;\n }\n pivotTo(link) {\n const newSegments = [...this.#state.segments, {\n type: \"pivotTo\",\n linkName: link,\n sourceType: this.#state.currentTypeApiName\n // targetType is resolved at link execution time when link metadata is available\n }];\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n segments: newSegments,\n // currentTypeApiName is a hint for debugging; actual type resolution happens at execution\n currentTypeApiName: `${this.#state.currentTypeApiName}.${link}`\n });\n }\n\n /** Sets the where filter for this link. Calling multiple times replaces the previous clause (last-write-wins). */\n where(clause) {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n where: clause\n });\n }\n #setOp(type, others) {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n setOperations: [...this.#state.setOperations, ...others.map(other => ({\n type,\n other: other.toObjectSetDef()\n }))]\n });\n }\n union(...others) {\n return this.#setOp(\"union\", others);\n }\n intersect(...others) {\n return this.#setOp(\"intersect\", others);\n }\n subtract(...others) {\n return this.#setOp(\"subtract\", others);\n }\n orderBy(property, direction = \"asc\") {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n orderBy: [...this.#state.orderBy, {\n property: property,\n direction\n }]\n });\n }\n limit(n) {\n if (!Number.isInteger(n) || n <= 0) {\n throw new Error(`ShapeLinkBuilder.limit() requires a positive integer, got: ${n}`);\n }\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n limit: n\n });\n }\n distinct() {\n return new ShapeLinkBuilderImpl({\n ...this.#state,\n distinct: true\n });\n }\n as(shape, config = {}) {\n // The brand is a compile-time only marker, at runtime it's just undefined\n return {\n targetShape: shape,\n objectSetDef: this.toObjectSetDef(),\n config\n };\n }\n toObjectSetDef() {\n return {\n segments: Object.freeze([...this.#state.segments]),\n where: this.#state.where,\n orderBy: this.#state.orderBy.length > 0 ? Object.freeze([...this.#state.orderBy]) : undefined,\n limit: this.#state.limit,\n distinct: this.#state.distinct || undefined,\n setOperations: this.#state.setOperations.length > 0 ? Object.freeze([...this.#state.setOperations]) : undefined\n };\n }\n}\nexport function createShapeLinkBuilder(sourceTypeApiName) {\n return new ShapeLinkBuilderImpl({\n sourceTypeApiName,\n currentTypeApiName: sourceTypeApiName,\n segments: [],\n orderBy: [],\n distinct: false,\n setOperations: []\n });\n}\n\n/**\n * Creates a new ShapeBuilder for the given base type.\n *\n * @param baseType - The base ObjectTypeDefinition or InterfaceDefinition\n * @param debugName - Optional name for debugging in DevTools\n *\n * @example\n * ```typescript\n * const SlimPlayer = createShapeBuilder(Player, \"SlimPlayer\")\n * .require(\"name\", \"age\")\n * .withDefault(\"position\", \"Unknown\")\n * .build();\n * ```\n */\nexport function createShapeBuilder(baseType, debugName) {\n const state = {\n baseType,\n baseTypeApiName: baseType.apiName,\n debugName,\n props: {},\n derivedLinks: []\n };\n return new ShapeBuilderImpl(state);\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { computeShapeId } from \"./computeShapeId.js\";\nimport { createShapeLinkBuilder } from \"./ShapeBuilder.js\";\nexport function configToShapeDefinition(baseType, config) {\n const baseTypeApiName = baseType.apiName;\n const props = {};\n const seen = new Set();\n function addProp(prop, config2) {\n if (seen.has(prop)) {\n throw new Error(`Property \"${prop}\" appears in multiple config arrays`);\n }\n seen.add(prop);\n props[prop] = config2;\n }\n if (config.require) {\n for (const prop of config.require) {\n addProp(prop, {\n nullabilityOp: {\n type: \"require\"\n }\n });\n }\n }\n if (config.select) {\n for (const prop of config.select) {\n addProp(prop, {\n nullabilityOp: {\n type: \"select\"\n }\n });\n }\n }\n if (config.dropIfNull) {\n for (const prop of config.dropIfNull) {\n addProp(prop, {\n nullabilityOp: {\n type: \"dropIfNull\"\n }\n });\n }\n }\n if (config.defaults) {\n for (const [prop, defaultValue] of Object.entries(config.defaults)) {\n addProp(prop, {\n nullabilityOp: {\n type: \"withDefault\",\n defaultValue\n }\n });\n }\n }\n if (config.transforms) {\n for (const [prop, transform] of Object.entries(config.transforms)) {\n if (typeof transform !== \"function\") {\n throw new Error(`transforms[\"${prop}\"] must be a function, got: ${typeof transform}`);\n }\n addProp(prop, {\n nullabilityOp: {\n type: \"withTransform\",\n transform\n }\n });\n }\n }\n const derivedLinks = [];\n if (config.links) {\n for (const [name, linkConfig] of Object.entries(config.links)) {\n const linkBuilder = createShapeLinkBuilder(baseTypeApiName);\n const traversed = linkConfig.via(linkBuilder);\n const objectSetDef = traversed.toObjectSetDef();\n const targetShape = linkConfig.target;\n derivedLinks.push({\n name,\n objectSetDef,\n targetShape,\n config: {\n defer: linkConfig.defer\n }\n });\n }\n }\n const shapeId = computeShapeId({\n baseTypeApiName,\n props,\n derivedLinks\n });\n return {\n __shapeId: shapeId,\n __debugName: undefined,\n __baseType: baseType,\n __baseTypeApiName: baseTypeApiName,\n __props: Object.freeze({\n ...props\n }),\n __derivedLinks: Object.freeze([...derivedLinks]),\n __selectedPropsType: {},\n __derivedLinksType: {}\n };\n}"]}
@@ -25,37 +25,83 @@ interface AgentDefinition<T = never> {
25
25
  __DefinitionMetadata?: AgentCompileTimeMetadata<T>;
26
26
  }
27
27
 
28
+ /** @beta */
29
+ declare class AgentGetStateTimeoutError extends Error {
30
+ constructor();
31
+ }
32
+
28
33
  /** @beta */
29
34
  declare class AgentSendEventTimeoutError extends Error {
30
35
  constructor();
31
36
  }
32
37
 
33
38
  /** @beta */
34
- interface AgentSendEventOptions {
39
+ interface AgentSession {
40
+ readonly id: string;
35
41
  /**
36
- * The duration in milliseconds to wait for the event to be accepted.
42
+ * Gets the state of the session. Polls internally until the session state has caught up to the latest
43
+ * known event.
44
+ *
45
+ * @throws {AgentGetStateTimeoutError} if the session state does not catch up within the specified timeout.
46
+ *
47
+ * @beta
48
+ */
49
+ experimental_getState($options?: AgentGetStateOptions): Promise<AgentSessionState>;
50
+ /**
51
+ * Sends an event to a session. Blocks until the event has been accepted, up to the specified timeout.
52
+ *
53
+ * @throws {AgentSendEventTimeoutError} if the session does not become ready to accept events within the specified timeout.
54
+ *
55
+ * @beta
56
+ */
57
+ experimental_sendEvent(event: Record<string, unknown>, $options?: AgentSendEventOptions): Promise<void>;
58
+ }
59
+ /** @beta */
60
+ interface AgentGetStateOptions {
61
+ /**
62
+ * The duration in milliseconds to wait for the session to catch up.
37
63
  *
38
64
  * Defaults to 30 seconds.
39
65
  */
40
66
  $timeoutMs?: number;
41
67
  /**
42
- * The delay in milliseconds between attempts when the session is not ready to accept events.
68
+ * The delay in milliseconds between reads when the session has not caught up.
43
69
  *
44
70
  * Defaults to 1 second.
45
71
  */
46
72
  $pollIntervalMs?: number;
47
73
  }
48
74
  /** @beta */
49
- interface AgentSession {
50
- readonly id: string;
75
+ type AgentSessionStatus = "live" | "completed" | "failed" | "canceled";
76
+ /** @beta */
77
+ interface AgentContextItem {
78
+ type: string;
79
+ data: unknown;
80
+ }
81
+ /** @beta */
82
+ interface AgentSessionState {
83
+ arguments: Record<string, unknown>;
84
+ status: AgentSessionStatus;
85
+ agentState: {
86
+ data: unknown;
87
+ };
88
+ contextItems: Record<string, AgentContextItem>;
89
+ contextItemOrder: string[];
90
+ }
91
+ /** @beta */
92
+ interface AgentSendEventOptions {
51
93
  /**
52
- * Sends an event to a session. Blocks until the event has been accepted, up to the specified timeout.
94
+ * The duration in milliseconds to wait for the event to be accepted.
53
95
  *
54
- * @throws {AgentSendEventTimeoutError} if the session does not become ready to accept events within the specified timeout.
96
+ * Defaults to 30 seconds.
97
+ */
98
+ $timeoutMs?: number;
99
+ /**
100
+ * The delay in milliseconds between attempts when the session is not ready to accept events.
55
101
  *
56
- * @beta
102
+ * Defaults to 1 second.
57
103
  */
58
- experimental_sendEvent(event: Record<string, unknown>, options?: AgentSendEventOptions): Promise<void>;
104
+ $pollIntervalMs?: number;
59
105
  }
60
106
 
61
107
  type Experiment<V extends string, T extends string = string, K extends Record<string, (...args: any[]) => any> = any> = {
@@ -1013,4 +1059,4 @@ declare function createShapeBuilder<BASE extends ObjectOrInterfaceDefinition>(ba
1013
1059
 
1014
1060
  declare function configToShapeDefinition<BASE extends ObjectOrInterfaceDefinition, const C extends InlineShapeConfig<BASE>>(baseType: BASE, config: C): InferShapeDefinition<BASE, C>;
1015
1061
 
1016
- export { type AgentDefinition, AgentParam, type AgentSendEventOptions, AgentSendEventTimeoutError, type AgentSession, AnnotateGeometry, type Annotation, type ArchiveEncoding, type AudioEncoding, AudioOperation, AudioToTextOperation, type BoundingBox, type Color, ContrastType, DicomToImageOperation, type DocumentEncoding, type DocumentTextExtractionConfig, DocumentToDocumentOperation, DocumentToImageOperation, DocumentToTextOperation, type EXPERIMENTAL_BulkLinkResult, EmailToAttachmentOperation, EmailToTextOperation, type Experiment, type ExperimentFns, type FetchPageByRidPayload, ImageOperation, type ImagePixelCoordinate, type ImageRegionPolygon, type ImageSpec, ImageToDocumentOperation, ImageToEmbeddingOperation, ImageToTextOperation, type ImageryEncoding, type InferShapeDefinition, type InlineLinkConfig, type InlineShapeConfig, type LayoutAwareExtractionParameters, LinkSubscription, type LlmSpec, MediaTransformation, MediaTransformationError, MediaTransformationFailedError, MediaTransformationTimeoutError, type OcrLanguage, OcrLanguageOrScript, OcrOutputFormat, type OcrParameters, type OcrScript, type PageRange, PropertyType, RequiredProperty, ShapeBuilder, ShapeDefinition, ShapeLinkBuilder, SpreadsheetToTextOperation, TranscribeOutputFormat, type TranscriptionLanguage, type TransformOptions, type VideoEncoding, VideoOperation, VideoToArchiveOperation, VideoToAudioOperation, VideoToImageOperation, VideoToTextOperation, VlmPreprocessingConfig, __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction, __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid, __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid, __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks, __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions, __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet, configToShapeDefinition, createShapeBuilder, transformAndWait };
1062
+ export { type AgentContextItem, type AgentDefinition, type AgentGetStateOptions, AgentGetStateTimeoutError, AgentParam, type AgentSendEventOptions, AgentSendEventTimeoutError, type AgentSession, type AgentSessionState, type AgentSessionStatus, AnnotateGeometry, type Annotation, type ArchiveEncoding, type AudioEncoding, AudioOperation, AudioToTextOperation, type BoundingBox, type Color, ContrastType, DicomToImageOperation, type DocumentEncoding, type DocumentTextExtractionConfig, DocumentToDocumentOperation, DocumentToImageOperation, DocumentToTextOperation, type EXPERIMENTAL_BulkLinkResult, EmailToAttachmentOperation, EmailToTextOperation, type Experiment, type ExperimentFns, type FetchPageByRidPayload, ImageOperation, type ImagePixelCoordinate, type ImageRegionPolygon, type ImageSpec, ImageToDocumentOperation, ImageToEmbeddingOperation, ImageToTextOperation, type ImageryEncoding, type InferShapeDefinition, type InlineLinkConfig, type InlineShapeConfig, type LayoutAwareExtractionParameters, LinkSubscription, type LlmSpec, MediaTransformation, MediaTransformationError, MediaTransformationFailedError, MediaTransformationTimeoutError, type OcrLanguage, OcrLanguageOrScript, OcrOutputFormat, type OcrParameters, type OcrScript, type PageRange, PropertyType, RequiredProperty, ShapeBuilder, ShapeDefinition, ShapeLinkBuilder, SpreadsheetToTextOperation, TranscribeOutputFormat, type TranscriptionLanguage, type TransformOptions, type VideoEncoding, VideoOperation, VideoToArchiveOperation, VideoToAudioOperation, VideoToImageOperation, VideoToTextOperation, VlmPreprocessingConfig, __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction, __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid, __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid, __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks, __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions, __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet, configToShapeDefinition, createShapeBuilder, transformAndWait };
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Copyright 2026 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ /** @beta */
18
+ export class AgentGetStateTimeoutError extends Error {
19
+ constructor() {
20
+ super("Agent session state reading timed out");
21
+ this.name = "AgentGetStateTimeoutError";
22
+ }
23
+ }
24
+ //# sourceMappingURL=AgentGetStateTimeoutError.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentGetStateTimeoutError.js","names":["AgentGetStateTimeoutError","Error","constructor","name"],"sources":["AgentGetStateTimeoutError.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @beta */\nexport class AgentGetStateTimeoutError extends Error {\n constructor() {\n super(\"Agent session state reading timed out\");\n this.name = \"AgentGetStateTimeoutError\";\n }\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAAO,MAAMA,yBAAyB,SAASC,KAAK,CAAC;EACnDC,WAAWA,CAAA,EAAG;IACZ,KAAK,CAAC,uCAAuC,CAAC;IAC9C,IAAI,CAACC,IAAI,GAAG,2BAA2B;EACzC;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"AgentSession.js","names":[],"sources":["AgentSession.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @beta */\nexport interface AgentSendEventOptions {\n /**\n * The duration in milliseconds to wait for the event to be accepted.\n *\n * Defaults to 30 seconds.\n */\n $timeoutMs?: number;\n\n /**\n * The delay in milliseconds between attempts when the session is not ready to accept events.\n *\n * Defaults to 1 second.\n */\n $pollIntervalMs?: number;\n}\n\n/** @beta */\nexport interface AgentSession {\n readonly id: string;\n\n /**\n * Sends an event to a session. Blocks until the event has been accepted, up to the specified timeout.\n *\n * @throws {AgentSendEventTimeoutError} if the session does not become ready to accept events within the specified timeout.\n *\n * @beta\n */\n experimental_sendEvent(\n event: Record<string, unknown>,\n options?: AgentSendEventOptions,\n ): Promise<void>;\n}\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"AgentSession.js","names":[],"sources":["AgentSession.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @beta */\nexport interface AgentSession {\n readonly id: string;\n\n /**\n * Gets the state of the session. Polls internally until the session state has caught up to the latest\n * known event.\n *\n * @throws {AgentGetStateTimeoutError} if the session state does not catch up within the specified timeout.\n *\n * @beta\n */\n experimental_getState(\n $options?: AgentGetStateOptions,\n ): Promise<AgentSessionState>;\n\n /**\n * Sends an event to a session. Blocks until the event has been accepted, up to the specified timeout.\n *\n * @throws {AgentSendEventTimeoutError} if the session does not become ready to accept events within the specified timeout.\n *\n * @beta\n */\n experimental_sendEvent(\n event: Record<string, unknown>,\n $options?: AgentSendEventOptions,\n ): Promise<void>;\n}\n\n/** @beta */\nexport interface AgentGetStateOptions {\n /**\n * The duration in milliseconds to wait for the session to catch up.\n *\n * Defaults to 30 seconds.\n */\n $timeoutMs?: number;\n /**\n * The delay in milliseconds between reads when the session has not caught up.\n *\n * Defaults to 1 second.\n */\n $pollIntervalMs?: number;\n}\n\n/** @beta */\nexport type AgentSessionStatus = \"live\" | \"completed\" | \"failed\" | \"canceled\";\n\n/** @beta */\nexport interface AgentContextItem {\n type: string;\n data: unknown;\n}\n\n/** @beta */\nexport interface AgentSessionState {\n arguments: Record<string, unknown>;\n status: AgentSessionStatus;\n agentState: { data: unknown };\n contextItems: Record<string, AgentContextItem>;\n contextItemOrder: string[];\n}\n\n/** @beta */\nexport interface AgentSendEventOptions {\n /**\n * The duration in milliseconds to wait for the event to be accepted.\n *\n * Defaults to 30 seconds.\n */\n $timeoutMs?: number;\n\n /**\n * The delay in milliseconds between attempts when the session is not ready to accept events.\n *\n * Defaults to 1 second.\n */\n $pollIntervalMs?: number;\n}\n"],"mappings":"","ignoreList":[]}
@@ -14,6 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
+ export { AgentGetStateTimeoutError } from "../agents/AgentGetStateTimeoutError.js";
17
18
  export { AgentSendEventTimeoutError } from "../agents/AgentSendEventTimeoutError.js";
18
19
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from "../experimental/executeStreamingFunction.js";
19
20
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from "../experimental/fetchOneByRid.js";
@@ -1 +1 @@
1
- {"version":3,"file":"unstable.js","names":["AgentSendEventTimeoutError","__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions","__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet","transformAndWait","MediaTransformationError","MediaTransformationFailedError","MediaTransformationTimeoutError","configToShapeDefinition","createShapeBuilder","isSourcePkSymbol","ShapeNullabilityError","SourcePrimaryKeySymbol"],"sources":["unstable.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type { AgentParam } from \"../agents/AgentParam.js\";\nexport type { AgentDefinition } from \"../agents/AgentDefinition.js\";\nexport { AgentSendEventTimeoutError } from \"../agents/AgentSendEventTimeoutError.js\";\nexport type {\n AgentSendEventOptions,\n AgentSession,\n} from \"../agents/AgentSession.js\";\nexport type { Experiment, ExperimentFns } from \"../experimental/Experiment.js\";\n\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from \"../experimental/executeStreamingFunction.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from \"../experimental/fetchOneByRid.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid,\n type FetchPageByRidPayload,\n} from \"../experimental/fetchPageByRid.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions,\n type LinkSubscription,\n} from \"../experimental/subscribeToLinks.js\";\nexport type {\n AnnotateGeometry,\n Annotation,\n ArchiveEncoding,\n AudioEncoding,\n AudioOperation,\n AudioToTextOperation,\n BoundingBox,\n Color,\n ContrastType,\n DicomToImageOperation,\n DocumentEncoding,\n DocumentTextExtractionConfig,\n DocumentToDocumentOperation,\n DocumentToImageOperation,\n DocumentToTextOperation,\n EmailToAttachmentOperation,\n EmailToTextOperation,\n ImageOperation,\n ImagePixelCoordinate,\n ImageRegionPolygon,\n ImageryEncoding,\n ImageSpec,\n ImageToDocumentOperation,\n ImageToEmbeddingOperation,\n ImageToTextOperation,\n LayoutAwareExtractionParameters,\n LlmSpec,\n MediaTransformation,\n OcrLanguage,\n OcrLanguageOrScript,\n OcrOutputFormat,\n OcrParameters,\n OcrScript,\n PageRange,\n SpreadsheetToTextOperation,\n TranscribeOutputFormat,\n TranscriptionLanguage,\n VideoEncoding,\n VideoOperation,\n VideoToArchiveOperation,\n VideoToAudioOperation,\n VideoToImageOperation,\n VideoToTextOperation,\n VlmPreprocessingConfig,\n} from \"../experimental/MediaTransformation.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet } from \"../experimental/subscribeToNoTypeObjectSet.js\";\nexport {\n transformAndWait,\n type TransformOptions,\n} from \"../experimental/transformAndWait.js\";\nexport {\n MediaTransformationError,\n MediaTransformationFailedError,\n MediaTransformationTimeoutError,\n} from \"../object/MediaTransformationErrors.js\";\n\nexport type { EXPERIMENTAL_BulkLinkResult } from \"../objectSet/BulkLinkResult.js\";\nexport type { MinimalObjectSet } from \"../objectSet/ObjectSet.js\";\n\n// Shapes (unstable — will graduate to @osdk/api/shapes when stable)\nexport {\n configToShapeDefinition,\n createShapeBuilder,\n isSourcePkSymbol,\n ShapeNullabilityError,\n SourcePrimaryKeySymbol,\n} from \"../shapes/index.js\";\n\nexport type {\n InferShapeDefinition,\n InlineLinkConfig,\n InlineShapeConfig,\n LinkLoadConfig,\n LinkStatus,\n NullabilityViolation,\n PropertyType,\n RequiredProperty,\n ShapeBaseType,\n ShapeBuilder,\n ShapeDefinition,\n ShapeDerivedLinks,\n ShapeInstance,\n ShapeLinkBuilder,\n ShapeLinkResult,\n} from \"../shapes/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,SAASA,0BAA0B,QAAQ,yCAAyC;AAOpF,SAASC,2DAA2D,QAAQ,6CAA6C;AACzH,SAASC,gDAAgD,QAAQ,kCAAkC;AACnG,SACEC,iDAAiD,QAE5C,mCAAmC;AAC1C,SAASC,+CAA+C,QAAQ,iCAAiC;AACjG,SACEC,oDAAoD,QAE/C,qCAAqC;AA+C5C,SAASC,6DAA6D,QAAQ,+CAA+C;AAC7H,SACEC,gBAAgB,QAEX,qCAAqC;AAC5C,SACEC,wBAAwB,EACxBC,8BAA8B,EAC9BC,+BAA+B,QAC1B,wCAAwC;AAK/C;AACA,SACEC,uBAAuB,EACvBC,kBAAkB,EAClBC,gBAAgB,EAChBC,qBAAqB,EACrBC,sBAAsB,QACjB,oBAAoB","ignoreList":[]}
1
+ {"version":3,"file":"unstable.js","names":["AgentGetStateTimeoutError","AgentSendEventTimeoutError","__EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions","__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet","transformAndWait","MediaTransformationError","MediaTransformationFailedError","MediaTransformationTimeoutError","configToShapeDefinition","createShapeBuilder","isSourcePkSymbol","ShapeNullabilityError","SourcePrimaryKeySymbol"],"sources":["unstable.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type { AgentParam } from \"../agents/AgentParam.js\";\nexport type { AgentDefinition } from \"../agents/AgentDefinition.js\";\nexport { AgentGetStateTimeoutError } from \"../agents/AgentGetStateTimeoutError.js\";\nexport { AgentSendEventTimeoutError } from \"../agents/AgentSendEventTimeoutError.js\";\nexport type {\n AgentContextItem,\n AgentGetStateOptions,\n AgentSessionState,\n AgentSessionStatus,\n AgentSendEventOptions,\n AgentSession,\n} from \"../agents/AgentSession.js\";\nexport type { Experiment, ExperimentFns } from \"../experimental/Experiment.js\";\n\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from \"../experimental/executeStreamingFunction.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from \"../experimental/fetchOneByRid.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid,\n type FetchPageByRidPayload,\n} from \"../experimental/fetchPageByRid.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport {\n __EXPERIMENTAL__NOT_SUPPORTED_YET__linkSubscriptions,\n type LinkSubscription,\n} from \"../experimental/subscribeToLinks.js\";\nexport type {\n AnnotateGeometry,\n Annotation,\n ArchiveEncoding,\n AudioEncoding,\n AudioOperation,\n AudioToTextOperation,\n BoundingBox,\n Color,\n ContrastType,\n DicomToImageOperation,\n DocumentEncoding,\n DocumentTextExtractionConfig,\n DocumentToDocumentOperation,\n DocumentToImageOperation,\n DocumentToTextOperation,\n EmailToAttachmentOperation,\n EmailToTextOperation,\n ImageOperation,\n ImagePixelCoordinate,\n ImageRegionPolygon,\n ImageryEncoding,\n ImageSpec,\n ImageToDocumentOperation,\n ImageToEmbeddingOperation,\n ImageToTextOperation,\n LayoutAwareExtractionParameters,\n LlmSpec,\n MediaTransformation,\n OcrLanguage,\n OcrLanguageOrScript,\n OcrOutputFormat,\n OcrParameters,\n OcrScript,\n PageRange,\n SpreadsheetToTextOperation,\n TranscribeOutputFormat,\n TranscriptionLanguage,\n VideoEncoding,\n VideoOperation,\n VideoToArchiveOperation,\n VideoToAudioOperation,\n VideoToImageOperation,\n VideoToTextOperation,\n VlmPreprocessingConfig,\n} from \"../experimental/MediaTransformation.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet } from \"../experimental/subscribeToNoTypeObjectSet.js\";\nexport {\n transformAndWait,\n type TransformOptions,\n} from \"../experimental/transformAndWait.js\";\nexport {\n MediaTransformationError,\n MediaTransformationFailedError,\n MediaTransformationTimeoutError,\n} from \"../object/MediaTransformationErrors.js\";\n\nexport type { EXPERIMENTAL_BulkLinkResult } from \"../objectSet/BulkLinkResult.js\";\nexport type { MinimalObjectSet } from \"../objectSet/ObjectSet.js\";\n\n// Shapes (unstable — will graduate to @osdk/api/shapes when stable)\nexport {\n configToShapeDefinition,\n createShapeBuilder,\n isSourcePkSymbol,\n ShapeNullabilityError,\n SourcePrimaryKeySymbol,\n} from \"../shapes/index.js\";\n\nexport type {\n InferShapeDefinition,\n InlineLinkConfig,\n InlineShapeConfig,\n LinkLoadConfig,\n LinkStatus,\n NullabilityViolation,\n PropertyType,\n RequiredProperty,\n ShapeBaseType,\n ShapeBuilder,\n ShapeDefinition,\n ShapeDerivedLinks,\n ShapeInstance,\n ShapeLinkBuilder,\n ShapeLinkResult,\n} from \"../shapes/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,SAASA,yBAAyB,QAAQ,wCAAwC;AAClF,SAASC,0BAA0B,QAAQ,yCAAyC;AAWpF,SAASC,2DAA2D,QAAQ,6CAA6C;AACzH,SAASC,gDAAgD,QAAQ,kCAAkC;AACnG,SACEC,iDAAiD,QAE5C,mCAAmC;AAC1C,SAASC,+CAA+C,QAAQ,iCAAiC;AACjG,SACEC,oDAAoD,QAE/C,qCAAqC;AA+C5C,SAASC,6DAA6D,QAAQ,+CAA+C;AAC7H,SACEC,gBAAgB,QAEX,qCAAqC;AAC5C,SACEC,wBAAwB,EACxBC,8BAA8B,EAC9BC,+BAA+B,QAC1B,wCAAwC;AAK/C;AACA,SACEC,uBAAuB,EACvBC,kBAAkB,EAClBC,gBAAgB,EAChBC,qBAAqB,EACrBC,sBAAsB,QACjB,oBAAoB","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ /** @beta */
2
+ export declare class AgentGetStateTimeoutError extends Error {
3
+ constructor();
4
+ }
@@ -0,0 +1 @@
1
+ {"mappings":";AAiBA,OAAO,cAAM,kCAAkC,MAAM;CACnD;AAID","names":[],"sources":["../../../src/agents/AgentGetStateTimeoutError.ts"],"version":3,"file":"AgentGetStateTimeoutError.d.ts"}
@@ -1,27 +1,68 @@
1
1
  /** @beta */
2
- export interface AgentSendEventOptions {
2
+ export interface AgentSession {
3
+ readonly id: string;
3
4
  /**
4
- * The duration in milliseconds to wait for the event to be accepted.
5
+ * Gets the state of the session. Polls internally until the session state has caught up to the latest
6
+ * known event.
7
+ *
8
+ * @throws {AgentGetStateTimeoutError} if the session state does not catch up within the specified timeout.
9
+ *
10
+ * @beta
11
+ */
12
+ experimental_getState($options?: AgentGetStateOptions): Promise<AgentSessionState>;
13
+ /**
14
+ * Sends an event to a session. Blocks until the event has been accepted, up to the specified timeout.
15
+ *
16
+ * @throws {AgentSendEventTimeoutError} if the session does not become ready to accept events within the specified timeout.
17
+ *
18
+ * @beta
19
+ */
20
+ experimental_sendEvent(event: Record<string, unknown>, $options?: AgentSendEventOptions): Promise<void>;
21
+ }
22
+ /** @beta */
23
+ export interface AgentGetStateOptions {
24
+ /**
25
+ * The duration in milliseconds to wait for the session to catch up.
5
26
  *
6
27
  * Defaults to 30 seconds.
7
28
  */
8
29
  $timeoutMs?: number;
9
30
  /**
10
- * The delay in milliseconds between attempts when the session is not ready to accept events.
31
+ * The delay in milliseconds between reads when the session has not caught up.
11
32
  *
12
33
  * Defaults to 1 second.
13
34
  */
14
35
  $pollIntervalMs?: number;
15
36
  }
16
37
  /** @beta */
17
- export interface AgentSession {
18
- readonly id: string;
38
+ export type AgentSessionStatus = "live" | "completed" | "failed" | "canceled";
39
+ /** @beta */
40
+ export interface AgentContextItem {
41
+ type: string;
42
+ data: unknown;
43
+ }
44
+ /** @beta */
45
+ export interface AgentSessionState {
46
+ arguments: Record<string, unknown>;
47
+ status: AgentSessionStatus;
48
+ agentState: {
49
+ data: unknown
50
+ };
51
+ contextItems: Record<string, AgentContextItem>;
52
+ contextItemOrder: string[];
53
+ }
54
+ /** @beta */
55
+ export interface AgentSendEventOptions {
19
56
  /**
20
- * Sends an event to a session. Blocks until the event has been accepted, up to the specified timeout.
57
+ * The duration in milliseconds to wait for the event to be accepted.
21
58
  *
22
- * @throws {AgentSendEventTimeoutError} if the session does not become ready to accept events within the specified timeout.
59
+ * Defaults to 30 seconds.
60
+ */
61
+ $timeoutMs?: number;
62
+ /**
63
+ * The delay in milliseconds between attempts when the session is not ready to accept events.
23
64
  *
24
- * @beta
65
+ * Defaults to 1 second.
25
66
  */
26
- experimental_sendEvent(event: Record<string, unknown>, options?: AgentSendEventOptions): Promise<void>;
67
+ $pollIntervalMs?: number;
27
68
  }
@@ -1 +1 @@
1
- {"mappings":";AAiBA,iBAAiB,sBAAsB;;;;;;CAMrC;;;;;;CAOA;AACD;;AAGD,iBAAiB,aAAa;UACnB;;;;;;;;CAST,uBACEA,OAAO,yBACPC,UAAU,wBACT;AACJ","names":["event: Record<string, unknown>","options?: AgentSendEventOptions"],"sources":["../../../src/agents/AgentSession.ts"],"version":3,"file":"AgentSession.d.ts"}
1
+ {"mappings":";AAiBA,iBAAiB,aAAa;UACnB;;;;;;;;;CAUT,sBACEA,WAAW,uBACV,QAAQ;;;;;;;;CASX,uBACEC,OAAO,yBACPC,WAAW,wBACV;AACJ;;AAGD,iBAAiB,qBAAqB;;;;;;CAMpC;;;;;;CAMA;AACD;;AAGD,YAAY,qBAAqB,SAAS,cAAc,WAAW;;AAGnE,iBAAiB,iBAAiB;CAChC;CACA;AACD;;AAGD,iBAAiB,kBAAkB;CACjC,WAAW;CACX,QAAQ;CACR,YAAY;EAAE;CAAe;CAC7B,cAAc,eAAe;CAC7B;AACD;;AAGD,iBAAiB,sBAAsB;;;;;;CAMrC;;;;;;CAOA;AACD","names":["$options?: AgentGetStateOptions","event: Record<string, unknown>","$options?: AgentSendEventOptions"],"sources":["../../../src/agents/AgentSession.ts"],"version":3,"file":"AgentSession.d.ts"}
@@ -1,7 +1,8 @@
1
1
  export type { AgentParam } from "../agents/AgentParam.js";
2
2
  export type { AgentDefinition } from "../agents/AgentDefinition.js";
3
+ export { AgentGetStateTimeoutError } from "../agents/AgentGetStateTimeoutError.js";
3
4
  export { AgentSendEventTimeoutError } from "../agents/AgentSendEventTimeoutError.js";
4
- export type { AgentSendEventOptions, AgentSession } from "../agents/AgentSession.js";
5
+ export type { AgentContextItem, AgentGetStateOptions, AgentSessionState, AgentSessionStatus, AgentSendEventOptions, AgentSession } from "../agents/AgentSession.js";
5
6
  export type { Experiment, ExperimentFns } from "../experimental/Experiment.js";
6
7
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from "../experimental/executeStreamingFunction.js";
7
8
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from "../experimental/fetchOneByRid.js";
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,kBAAkB;AAChC,cAAc,uBAAuB;AACrC,SAAS,kCAAkC;AAC3C,cACE,uBACA,oBACK;AACP,cAAc,YAAY,qBAAqB;AAE/C,SAAS,mEAAmE;AAC5E,SAAS,wDAAwD;AACjE,SACE,wDACK,6BACA;AACP,SAAS,uDAAuD;AAChE,SACE,2DACK,wBACA;AACP,cACE,kBACA,YACA,iBACA,eACA,gBACA,sBACA,aACA,OACA,cACA,uBACA,kBACA,8BACA,6BACA,0BACA,yBACA,4BACA,sBACA,gBACA,sBACA,oBACA,iBACA,WACA,0BACA,2BACA,sBACA,iCACA,SACA,qBACA,aACA,qBACA,iBACA,eACA,WACA,WACA,4BACA,wBACA,uBACA,eACA,gBACA,yBACA,uBACA,uBACA,sBACA,8BACK;AACP,SAAS,qEAAqE;AAC9E,SACE,uBACK,wBACA;AACP,SACE,0BACA,gCACA,uCACK;AAEP,cAAc,mCAAmC;AACjD,cAAc,wBAAwB;AAGtC,SACE,yBACA,oBACA,kBACA,uBACA,8BACK;AAEP,cACE,sBACA,kBACA,mBACA,gBACA,YACA,sBACA,cACA,kBACA,eACA,cACA,iBACA,mBACA,eACA,kBACA,uBACK","names":[],"sources":["../../../src/public/unstable.ts"],"version":3,"file":"unstable.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,kBAAkB;AAChC,cAAc,uBAAuB;AACrC,SAAS,iCAAiC;AAC1C,SAAS,kCAAkC;AAC3C,cACE,kBACA,sBACA,mBACA,oBACA,uBACA,oBACK;AACP,cAAc,YAAY,qBAAqB;AAE/C,SAAS,mEAAmE;AAC5E,SAAS,wDAAwD;AACjE,SACE,wDACK,6BACA;AACP,SAAS,uDAAuD;AAChE,SACE,2DACK,wBACA;AACP,cACE,kBACA,YACA,iBACA,eACA,gBACA,sBACA,aACA,OACA,cACA,uBACA,kBACA,8BACA,6BACA,0BACA,yBACA,4BACA,sBACA,gBACA,sBACA,oBACA,iBACA,WACA,0BACA,2BACA,sBACA,iCACA,SACA,qBACA,aACA,qBACA,iBACA,eACA,WACA,WACA,4BACA,wBACA,uBACA,eACA,gBACA,yBACA,uBACA,uBACA,sBACA,8BACK;AACP,SAAS,qEAAqE;AAC9E,SACE,uBACK,wBACA;AACP,SACE,0BACA,gCACA,uCACK;AAEP,cAAc,mCAAmC;AACjD,cAAc,wBAAwB;AAGtC,SACE,yBACA,oBACA,kBACA,uBACA,8BACK;AAEP,cACE,sBACA,kBACA,mBACA,gBACA,YACA,sBACA,cACA,kBACA,eACA,cACA,iBACA,mBACA,eACA,kBACA,uBACK","names":[],"sources":["../../../src/public/unstable.ts"],"version":3,"file":"unstable.d.ts"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/api",
3
- "version": "2.87.0",
3
+ "version": "2.88.0-main-1c7d042022c0223d9ffbba2b8fbf0420d9d3c64a",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "license": "Apache-2.0",