@osdk/api 2.77.0-main-2b0991db52392b17eb33df9824ee7046b0a2f95f → 2.77.0
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 +3 -2
- package/build/browser/agents/AgentDefinition.js +2 -0
- package/build/browser/agents/AgentDefinition.js.map +1 -0
- package/build/browser/agents/AgentSession.js +2 -0
- package/build/browser/agents/AgentSession.js.map +1 -0
- package/build/browser/public/unstable.js.map +1 -1
- package/build/cjs/public/unstable.d.cts +20 -2
- package/build/esm/agents/AgentDefinition.js +2 -0
- package/build/esm/agents/AgentDefinition.js.map +1 -0
- package/build/esm/agents/AgentSession.js +2 -0
- package/build/esm/agents/AgentSession.js.map +1 -0
- package/build/esm/public/unstable.js.map +1 -1
- package/build/types/agents/AgentDefinition.d.ts +13 -0
- package/build/types/agents/AgentDefinition.d.ts.map +1 -0
- package/build/types/agents/AgentSession.d.ts +4 -0
- package/build/types/agents/AgentSession.d.ts.map +1 -0
- package/build/types/public/unstable.d.ts +2 -0
- package/build/types/public/unstable.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# @osdk/api
|
|
2
2
|
|
|
3
|
-
## 2.77.0
|
|
3
|
+
## 2.77.0
|
|
4
4
|
|
|
5
|
-
###
|
|
5
|
+
### Minor Changes
|
|
6
6
|
|
|
7
7
|
- 2ab4d7c: Clarify that ontology-defined derived properties require explicit selection, distinguish runtime-defined derived properties, and add object-loading examples.
|
|
8
|
+
- 75a8f07: Add experimental agent clients with support for creating sessions.
|
|
8
9
|
|
|
9
10
|
## 2.76.0
|
|
10
11
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentDefinition.js","names":[],"sources":["AgentDefinition.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\nimport type { OsdkMetadata } from \"../OsdkMetadata.js\";\n\n/** @beta */\nexport interface AgentCompileTimeMetadata<T> {\n signatures: T;\n}\n\n/** @beta */\nexport interface AgentDefinition<T = never> {\n type: \"agent\";\n apiName: string;\n version: string;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?: AgentCompileTimeMetadata<T>;\n}\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +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 AgentSession {\n readonly id: string;\n}\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unstable.js","names":["__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 { 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;;
|
|
1
|
+
{"version":3,"file":"unstable.js","names":["__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 { AgentDefinition } from \"../agents/AgentDefinition.js\";\nexport type { AgentSession } 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;;AAMA,SAASA,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,4 +1,4 @@
|
|
|
1
|
-
import { C as CompileTimeMetadata, O as ObjectOrInterfaceDefinition, bt as PropertyKeys, aV as NullabilityAdherence, bF as SelectArg, bf as Osdk, c2 as ExtractOptions, c3 as ApplyModifiersArg, c4 as PropertyModifierValue, ah as FetchPageArgs, ai as FetchPageResult, j as OsdkBase, b as ObjectTypeDefinition, aF as LinkTypeApiNamesFor, f as ObjectIdentifiers, g as OsdkObjectPrimaryKeyType, c5 as LinkedObjectType, c6 as Just, bb as ObjectSetSubscription, d as Media } from '../ObjectSet-KOpaT65h.cjs';
|
|
1
|
+
import { a as OsdkMetadata, C as CompileTimeMetadata, O as ObjectOrInterfaceDefinition, bt as PropertyKeys, aV as NullabilityAdherence, bF as SelectArg, bf as Osdk, c2 as ExtractOptions, c3 as ApplyModifiersArg, c4 as PropertyModifierValue, ah as FetchPageArgs, ai as FetchPageResult, j as OsdkBase, b as ObjectTypeDefinition, aF as LinkTypeApiNamesFor, f as ObjectIdentifiers, g as OsdkObjectPrimaryKeyType, c5 as LinkedObjectType, c6 as Just, bb as ObjectSetSubscription, d as Media } from '../ObjectSet-KOpaT65h.cjs';
|
|
2
2
|
export { c7 as MinimalObjectSet } from '../ObjectSet-KOpaT65h.cjs';
|
|
3
3
|
import { d as QueryDefinition } from '../QueryDefinition-Clf2t3YO.cjs';
|
|
4
4
|
import { P as PropertyType, S as ShapeLinkBuilder, a as ShapeDefinition, R as RequiredProperty, b as ShapeBuilder } from '../shapes-internal-BCtUZ3Iw.cjs';
|
|
@@ -6,6 +6,24 @@ export { L as LinkLoadConfig, c as LinkStatus, N as NullabilityViolation, d as S
|
|
|
6
6
|
import 'type-fest';
|
|
7
7
|
import 'geojson';
|
|
8
8
|
|
|
9
|
+
/** @beta */
|
|
10
|
+
interface AgentCompileTimeMetadata<T> {
|
|
11
|
+
signatures: T;
|
|
12
|
+
}
|
|
13
|
+
/** @beta */
|
|
14
|
+
interface AgentDefinition<T = never> {
|
|
15
|
+
type: "agent";
|
|
16
|
+
apiName: string;
|
|
17
|
+
version: string;
|
|
18
|
+
osdkMetadata?: OsdkMetadata;
|
|
19
|
+
__DefinitionMetadata?: AgentCompileTimeMetadata<T>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** @beta */
|
|
23
|
+
interface AgentSession {
|
|
24
|
+
readonly id: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
9
27
|
type Experiment<V extends string, T extends string = string, K extends Record<string, (...args: any[]) => any> = any> = {
|
|
10
28
|
type: "experiment";
|
|
11
29
|
name: T;
|
|
@@ -961,4 +979,4 @@ declare function createShapeBuilder<BASE extends ObjectOrInterfaceDefinition>(ba
|
|
|
961
979
|
|
|
962
980
|
declare function configToShapeDefinition<BASE extends ObjectOrInterfaceDefinition, const C extends InlineShapeConfig<BASE>>(baseType: BASE, config: C): InferShapeDefinition<BASE, C>;
|
|
963
981
|
|
|
964
|
-
export { 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 };
|
|
982
|
+
export { type AgentDefinition, 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 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentDefinition.js","names":[],"sources":["AgentDefinition.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\nimport type { OsdkMetadata } from \"../OsdkMetadata.js\";\n\n/** @beta */\nexport interface AgentCompileTimeMetadata<T> {\n signatures: T;\n}\n\n/** @beta */\nexport interface AgentDefinition<T = never> {\n type: \"agent\";\n apiName: string;\n version: string;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?: AgentCompileTimeMetadata<T>;\n}\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +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 AgentSession {\n readonly id: string;\n}\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unstable.js","names":["__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 { 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;;
|
|
1
|
+
{"version":3,"file":"unstable.js","names":["__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 { AgentDefinition } from \"../agents/AgentDefinition.js\";\nexport type { AgentSession } 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;;AAMA,SAASA,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,13 @@
|
|
|
1
|
+
import type { OsdkMetadata } from "../OsdkMetadata.js";
|
|
2
|
+
/** @beta */
|
|
3
|
+
export interface AgentCompileTimeMetadata<T> {
|
|
4
|
+
signatures: T;
|
|
5
|
+
}
|
|
6
|
+
/** @beta */
|
|
7
|
+
export interface AgentDefinition<T = never> {
|
|
8
|
+
type: "agent";
|
|
9
|
+
apiName: string;
|
|
10
|
+
version: string;
|
|
11
|
+
osdkMetadata?: OsdkMetadata;
|
|
12
|
+
__DefinitionMetadata?: AgentCompileTimeMetadata<T>;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,cAAc,oBAAoB,oBAAqB;;AAGvD,iBAAiB,yBAAyB,GAAG;CAC3C,YAAY;AACb;;AAGD,iBAAiB,gBAAgB,WAAW;CAC1C,MAAM;CACN;CACA;CACA,eAAe;CACf,uBAAuB,yBAAyB;AACjD","names":[],"sources":["../../../src/agents/AgentDefinition.ts"],"version":3,"file":"AgentDefinition.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";AAiBA,iBAAiB,aAAa;UACnB;AACV","names":[],"sources":["../../../src/agents/AgentSession.ts"],"version":3,"file":"AgentSession.d.ts"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export type { AgentDefinition } from "../agents/AgentDefinition.js";
|
|
2
|
+
export type { AgentSession } from "../agents/AgentSession.js";
|
|
1
3
|
export type { Experiment, ExperimentFns } from "../experimental/Experiment.js";
|
|
2
4
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__executeStreamingFunction } from "../experimental/executeStreamingFunction.js";
|
|
3
5
|
export { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from "../experimental/fetchOneByRid.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,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,uBAAuB;AACrC,cAAc,oBAAoB;AAClC,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"}
|