@proteos/sdk 0.86.0 → 0.88.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/dist/index.cjs +66 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +457 -20
- package/dist/index.d.ts +457 -20
- package/dist/index.js +66 -5
- package/dist/index.js.map +1 -1
- package/dist/meta/index.d.cts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/dist/{types-CWj1h9l0.d.cts → types-D38dRFU7.d.cts} +7 -1
- package/dist/{types-CWj1h9l0.d.ts → types-D38dRFU7.d.ts} +7 -1
- package/package.json +3 -3
- package/src/agent/index.ts +28 -0
- package/src/agent/model-types.ts +23 -1
- package/src/agent/models.ts +16 -3
- package/src/agent/session-types.ts +351 -12
- package/src/agent/sessions.ts +108 -1
- package/src/agent/toolsets.ts +17 -0
- package/src/agent/types.ts +34 -0
- package/src/client.ts +1 -0
- package/src/index.ts +30 -1
- package/src/knowledge/index.ts +2 -0
- package/src/knowledge/nodes.ts +12 -2
- package/src/knowledge/spaces.ts +14 -0
- package/src/knowledge/types.ts +27 -0
- package/src/types/options.ts +6 -0
package/dist/meta/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { h as App, i as AppConfiguration, j as AppConfigurationSchema, k as AppConfigurationService, l as AppHome, m as AppHomeSchema, n as AppHomeType, o as AppSchema, p as AppService, q as ArrayAttributeMeta, a as Attribute, r as AttributeAccessRule, cz as AttributeForLookup, cA as AttributeMeta, s as AttributeRestrictions, t as AttributeSchema, u as AttributeType, cB as BUILT_IN_CONTROLS, cC as BuiltInControlSlug, cD as CALENDAR_MAX_OVERLAY_USERS, cE as CALENDAR_VIEW_KINDS, C as CURRENT_USER, w as CURRENT_USER_DEFAULT, cF as CalendarElement, cG as CalendarViewKind, cH as CardElement, y as Column, cI as ColumnElement, z as ColumnSchema, cJ as CommonProps, B as ComparisonOperator, D as Component, cK as ComponentElement, E as ComponentSchema, G as ComponentService, H as ContactAddressAttributeKind, I as ContactAddressAttributeMeta, J as ContactAddressAttributeMetaSchema, K as ContactBindingDuplicatePolicy, cL as ControlBucket, M as CreateAppConfigurationRequest, N as CreateAppRequest, O as CreateComponentRequest, Q as CreateDesignReferenceRequest, S as CreateEntityExtensionRequest, T as CreateEntityRequest, V as CreateListExtensionRequest, W as CreateListRequest, X as CreateListViewRequest, Y as CreateMenuConfigurationExtensionRequest, Z as CreateMenuConfigurationRequest, _ as CreatePageExtensionRequest, $ as CreatePageRequest, a0 as CreateVariableRequest, a1 as CurrencyAttributeMeta, a2 as CurrencyAttributeMetaSchema, a3 as CurrencySymbolSide, a4 as CurrencyValue, a5 as CurrentUserDefault, cM as DatetimeAttributeMeta, cN as DatetimeFormat, a9 as DeployModuleRequest, aa as DesignReference, ab as DesignReferenceContent, ac as DesignReferenceSchema, ad as DesignReferenceService, cO as DividerElement, af as Entity, ag as EntityContactBinding, ah as EntityContactBindingSchema, ai as EntityExtension, aj as EntityExtensionSchema, ak as EntityExtensionService, al as EntitySchema, am as EntityService, an as EntityWithSchema, ao as EntityWithSchemaSchema, ap as EnumAttributeMeta, aq as EnumValue, ar as ExtensionPosition, as as ExtensionPositionSchema, cP as FieldElement, at as FileAttributeMeta, cQ as FileAttributeMetaSchema, av as FilterElement, aw as FilterElementSchema, ax as FilterGroup, ay as FilterGroupSchema, cR as LayoutAlign, cS as LayoutElement, cT as LayoutElementSchema, cU as LayoutElementType, cV as LayoutGap, cW as LayoutJustify, cX as LayoutStep, cY as LayoutStepSchema, cZ as LayoutTab, c_ as LayoutTabSchema, c$ as LengthValue, d0 as LengthValueSchema, az as List, aA as ListAppConfigurationsOptions, aB as ListAppsOptions, aC as ListComponentsOptions, aD as ListDesignReferencesOptions, d1 as ListElement, aE as ListEntitiesOptions, aF as ListEntityExtensionsOptions, aG as ListExtension, aH as ListExtensionColumnPlacement, aI as ListExtensionColumnPlacementSchema, aJ as ListExtensionSchema, aK as ListExtensionService, aM as ListListExtensionsOptions, aN as ListListViewsOptions, aO as ListListsOptions, aP as ListMenuConfigurationExtensionsOptions, aQ as ListMenuConfigurationsOptions, aR as ListModulesOptions, aS as ListPageExtensionsOptions, aT as ListPagesOptions, aU as ListSchema, aV as ListService, aW as ListVariablesOptions, aX as ListView, aY as ListViewSchema, aZ as ListViewService, a_ as LogicalOperator, a$ as MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, b0 as MenuConfiguration, b1 as MenuConfigurationExtension, b2 as MenuConfigurationExtensionPlacement, b3 as MenuConfigurationExtensionPlacementSchema, b4 as MenuConfigurationExtensionPosition, b5 as MenuConfigurationExtensionPositionSchema, b6 as MenuConfigurationExtensionSchema, b7 as MenuConfigurationExtensionService, b8 as MenuConfigurationSchema, b9 as MenuConfigurationService, ba as MenuItem, bb as MenuItemSchema, bc as MenuItemType, bd as MetaClient, be as MetaListOptions, bf as Module, bg as ModuleSchema, bh as ModuleService, bi as ModuleStatus, d2 as NumberAttributeMeta, d3 as ObjectAttributeMeta, bj as OnDeleteAction, bk as OnDeleteActionSchema, bl as PAGE_ACTION_MATCH_MAX_LIMIT, d4 as PAGE_BACKGROUND_COLOR_RE, d5 as PAGE_BACKGROUND_TOKENS, bm as PAGE_EXTENSION_ANCHOR_MAIN, bn as PAGE_EXTENSION_ANCHOR_SIDE_PANEL, d6 as PAGE_HEADERS, bo as PLATFORM_ATTRIBUTE_NAMES, bq as Page, e as PageAction, br as PageActionIntent, bs as PageActionKind, bt as PageActionMatch, bu as PageActionMatchSchema, bv as PageActionSchema, d7 as PageBackgroundToken, bw as PageExtension, bx as PageExtensionPlacement, by as PageExtensionPlacementSchema, bz as PageExtensionSchema, bA as PageExtensionService, d8 as PageHeader, bB as PageLayout, bC as PageLayoutSchema, d9 as PageLayoutSidePanel, da as PageLayoutSidePanelSchema, bD as PageMode, bE as PageSchema, bF as PageService, db as PageStyle, dc as PageStyleSchema, bG as PageType, dd as PrincipalAttributeMeta, d as PrincipalRef, de as PrincipalType,
|
|
1
|
+
export { h as App, i as AppConfiguration, j as AppConfigurationSchema, k as AppConfigurationService, l as AppHome, m as AppHomeSchema, n as AppHomeType, o as AppSchema, p as AppService, q as ArrayAttributeMeta, a as Attribute, r as AttributeAccessRule, cz as AttributeForLookup, cA as AttributeMeta, s as AttributeRestrictions, t as AttributeSchema, u as AttributeType, cB as BUILT_IN_CONTROLS, cC as BuiltInControlSlug, cD as CALENDAR_MAX_OVERLAY_USERS, cE as CALENDAR_VIEW_KINDS, C as CURRENT_USER, w as CURRENT_USER_DEFAULT, cF as CalendarElement, cG as CalendarViewKind, cH as CardElement, y as Column, cI as ColumnElement, z as ColumnSchema, cJ as CommonProps, B as ComparisonOperator, D as Component, cK as ComponentElement, E as ComponentSchema, G as ComponentService, H as ContactAddressAttributeKind, I as ContactAddressAttributeMeta, J as ContactAddressAttributeMetaSchema, K as ContactBindingDuplicatePolicy, cL as ControlBucket, M as CreateAppConfigurationRequest, N as CreateAppRequest, O as CreateComponentRequest, Q as CreateDesignReferenceRequest, S as CreateEntityExtensionRequest, T as CreateEntityRequest, V as CreateListExtensionRequest, W as CreateListRequest, X as CreateListViewRequest, Y as CreateMenuConfigurationExtensionRequest, Z as CreateMenuConfigurationRequest, _ as CreatePageExtensionRequest, $ as CreatePageRequest, a0 as CreateVariableRequest, a1 as CurrencyAttributeMeta, a2 as CurrencyAttributeMetaSchema, a3 as CurrencySymbolSide, a4 as CurrencyValue, a5 as CurrentUserDefault, cM as DatetimeAttributeMeta, cN as DatetimeFormat, a9 as DeployModuleRequest, aa as DesignReference, ab as DesignReferenceContent, ac as DesignReferenceSchema, ad as DesignReferenceService, cO as DividerElement, af as Entity, ag as EntityContactBinding, ah as EntityContactBindingSchema, ai as EntityExtension, aj as EntityExtensionSchema, ak as EntityExtensionService, al as EntitySchema, am as EntityService, an as EntityWithSchema, ao as EntityWithSchemaSchema, ap as EnumAttributeMeta, aq as EnumValue, ar as ExtensionPosition, as as ExtensionPositionSchema, cP as FieldElement, at as FileAttributeMeta, cQ as FileAttributeMetaSchema, av as FilterElement, aw as FilterElementSchema, ax as FilterGroup, ay as FilterGroupSchema, cR as LayoutAlign, cS as LayoutElement, cT as LayoutElementSchema, cU as LayoutElementType, cV as LayoutGap, cW as LayoutJustify, cX as LayoutStep, cY as LayoutStepSchema, cZ as LayoutTab, c_ as LayoutTabSchema, c$ as LengthValue, d0 as LengthValueSchema, az as List, aA as ListAppConfigurationsOptions, aB as ListAppsOptions, aC as ListComponentsOptions, aD as ListDesignReferencesOptions, d1 as ListElement, aE as ListEntitiesOptions, aF as ListEntityExtensionsOptions, aG as ListExtension, aH as ListExtensionColumnPlacement, aI as ListExtensionColumnPlacementSchema, aJ as ListExtensionSchema, aK as ListExtensionService, aM as ListListExtensionsOptions, aN as ListListViewsOptions, aO as ListListsOptions, aP as ListMenuConfigurationExtensionsOptions, aQ as ListMenuConfigurationsOptions, aR as ListModulesOptions, aS as ListPageExtensionsOptions, aT as ListPagesOptions, aU as ListSchema, aV as ListService, aW as ListVariablesOptions, aX as ListView, aY as ListViewSchema, aZ as ListViewService, a_ as LogicalOperator, a$ as MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, b0 as MenuConfiguration, b1 as MenuConfigurationExtension, b2 as MenuConfigurationExtensionPlacement, b3 as MenuConfigurationExtensionPlacementSchema, b4 as MenuConfigurationExtensionPosition, b5 as MenuConfigurationExtensionPositionSchema, b6 as MenuConfigurationExtensionSchema, b7 as MenuConfigurationExtensionService, b8 as MenuConfigurationSchema, b9 as MenuConfigurationService, ba as MenuItem, bb as MenuItemSchema, bc as MenuItemType, bd as MetaClient, be as MetaListOptions, bf as Module, bg as ModuleSchema, bh as ModuleService, bi as ModuleStatus, d2 as NumberAttributeMeta, d3 as ObjectAttributeMeta, bj as OnDeleteAction, bk as OnDeleteActionSchema, bl as PAGE_ACTION_MATCH_MAX_LIMIT, d4 as PAGE_BACKGROUND_COLOR_RE, d5 as PAGE_BACKGROUND_TOKENS, bm as PAGE_EXTENSION_ANCHOR_MAIN, bn as PAGE_EXTENSION_ANCHOR_SIDE_PANEL, d6 as PAGE_HEADERS, bo as PLATFORM_ATTRIBUTE_NAMES, bq as Page, e as PageAction, br as PageActionIntent, bs as PageActionKind, bt as PageActionMatch, bu as PageActionMatchSchema, bv as PageActionSchema, d7 as PageBackgroundToken, bw as PageExtension, bx as PageExtensionPlacement, by as PageExtensionPlacementSchema, bz as PageExtensionSchema, bA as PageExtensionService, d8 as PageHeader, bB as PageLayout, bC as PageLayoutSchema, d9 as PageLayoutSidePanel, da as PageLayoutSidePanelSchema, bD as PageMode, bE as PageSchema, bF as PageService, db as PageStyle, dc as PageStyleSchema, bG as PageType, dd as PrincipalAttributeMeta, d as PrincipalRef, de as PrincipalType, g as PublicAccessOperation, bH as PublicPageComponent, bI as PublicPageResponse, df as RECORD_TITLE_FIELD, dg as RecordFilterElement, bJ as RecordPageBinding, bK as RecordPageBindingSchema, dh as RelatedListElement, di as RelatedRecordElement, bL as RelationAttributeMeta, bM as RelationAttributeMetaSchema, dj as ResponsiveSizing, dk as RowElement, dl as SchedulingPickerElement, dm as SectionElement, dn as SizeValue, dp as SizeValueSchema, dq as SizingProps, bP as SortConfig, bQ as SortConfigSchema, bR as SortDirection, dr as StepperElement, ds as StringAttributeMeta, dt as StringFormat, du as StyleSizeValue, dv as StyleSizeValueSchema, dw as TabsElement, dx as TextElement, dy as TextVariant, bU as TriggerPageBinding, bV as TriggerPageBindingSchema, bW as TriggerPhase, bX as UpdateAppConfigurationRequest, bY as UpdateAppRequest, bZ as UpdateComponentRequest, b_ as UpdateDesignReferenceRequest, b$ as UpdateEntityExtensionRequest, c0 as UpdateEntityRequest, c1 as UpdateListExtensionRequest, c2 as UpdateListRequest, c3 as UpdateListViewRequest, c4 as UpdateMenuConfigurationExtensionRequest, c5 as UpdateMenuConfigurationRequest, c6 as UpdatePageExtensionRequest, c7 as UpdatePageRequest, c8 as UpdateVariableRequest, dz as UserAttributeMeta, dA as UserAttributeMetaSchema, cb as Variable, cc as VariableSchema, cd as VariableService, dB as WorkflowTriggerElement, ce as acceptsCurrentUserDefault, cf as allCurrencyCodes, cg as bundleVersionOf, cj as currencyLabel, ck as currencySymbol, cl as currencySymbolSide, cm as formatAmount, cn as formatMoney, dC as isBuiltInControl, co as isCurrentUser, cp as isCurrentUserDefault, dD as isLengthValue, dE as isPageBackground, cq as isPlatformAttributeName, dF as isReservedAttributeName, dG as isStyleSizeValue, dH as isTitleQueryable, cr as localeNumberSeparators, dI as lookupCompatibleControls, dJ as lookupControls, dK as lookupPrimaryControl, cs as parseAmount, ct as parseContactAddressMeta, cu as parseCurrencyMeta, cv as parseFileMeta, dL as parsePrincipalMeta, cw as parseRelationMeta, dM as parseUserMeta, cx as platformAttributes, dN as titleTemplateVariables } from '../types-D38dRFU7.cjs';
|
|
2
2
|
import 'zod';
|
package/dist/meta/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { h as App, i as AppConfiguration, j as AppConfigurationSchema, k as AppConfigurationService, l as AppHome, m as AppHomeSchema, n as AppHomeType, o as AppSchema, p as AppService, q as ArrayAttributeMeta, a as Attribute, r as AttributeAccessRule, cz as AttributeForLookup, cA as AttributeMeta, s as AttributeRestrictions, t as AttributeSchema, u as AttributeType, cB as BUILT_IN_CONTROLS, cC as BuiltInControlSlug, cD as CALENDAR_MAX_OVERLAY_USERS, cE as CALENDAR_VIEW_KINDS, C as CURRENT_USER, w as CURRENT_USER_DEFAULT, cF as CalendarElement, cG as CalendarViewKind, cH as CardElement, y as Column, cI as ColumnElement, z as ColumnSchema, cJ as CommonProps, B as ComparisonOperator, D as Component, cK as ComponentElement, E as ComponentSchema, G as ComponentService, H as ContactAddressAttributeKind, I as ContactAddressAttributeMeta, J as ContactAddressAttributeMetaSchema, K as ContactBindingDuplicatePolicy, cL as ControlBucket, M as CreateAppConfigurationRequest, N as CreateAppRequest, O as CreateComponentRequest, Q as CreateDesignReferenceRequest, S as CreateEntityExtensionRequest, T as CreateEntityRequest, V as CreateListExtensionRequest, W as CreateListRequest, X as CreateListViewRequest, Y as CreateMenuConfigurationExtensionRequest, Z as CreateMenuConfigurationRequest, _ as CreatePageExtensionRequest, $ as CreatePageRequest, a0 as CreateVariableRequest, a1 as CurrencyAttributeMeta, a2 as CurrencyAttributeMetaSchema, a3 as CurrencySymbolSide, a4 as CurrencyValue, a5 as CurrentUserDefault, cM as DatetimeAttributeMeta, cN as DatetimeFormat, a9 as DeployModuleRequest, aa as DesignReference, ab as DesignReferenceContent, ac as DesignReferenceSchema, ad as DesignReferenceService, cO as DividerElement, af as Entity, ag as EntityContactBinding, ah as EntityContactBindingSchema, ai as EntityExtension, aj as EntityExtensionSchema, ak as EntityExtensionService, al as EntitySchema, am as EntityService, an as EntityWithSchema, ao as EntityWithSchemaSchema, ap as EnumAttributeMeta, aq as EnumValue, ar as ExtensionPosition, as as ExtensionPositionSchema, cP as FieldElement, at as FileAttributeMeta, cQ as FileAttributeMetaSchema, av as FilterElement, aw as FilterElementSchema, ax as FilterGroup, ay as FilterGroupSchema, cR as LayoutAlign, cS as LayoutElement, cT as LayoutElementSchema, cU as LayoutElementType, cV as LayoutGap, cW as LayoutJustify, cX as LayoutStep, cY as LayoutStepSchema, cZ as LayoutTab, c_ as LayoutTabSchema, c$ as LengthValue, d0 as LengthValueSchema, az as List, aA as ListAppConfigurationsOptions, aB as ListAppsOptions, aC as ListComponentsOptions, aD as ListDesignReferencesOptions, d1 as ListElement, aE as ListEntitiesOptions, aF as ListEntityExtensionsOptions, aG as ListExtension, aH as ListExtensionColumnPlacement, aI as ListExtensionColumnPlacementSchema, aJ as ListExtensionSchema, aK as ListExtensionService, aM as ListListExtensionsOptions, aN as ListListViewsOptions, aO as ListListsOptions, aP as ListMenuConfigurationExtensionsOptions, aQ as ListMenuConfigurationsOptions, aR as ListModulesOptions, aS as ListPageExtensionsOptions, aT as ListPagesOptions, aU as ListSchema, aV as ListService, aW as ListVariablesOptions, aX as ListView, aY as ListViewSchema, aZ as ListViewService, a_ as LogicalOperator, a$ as MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, b0 as MenuConfiguration, b1 as MenuConfigurationExtension, b2 as MenuConfigurationExtensionPlacement, b3 as MenuConfigurationExtensionPlacementSchema, b4 as MenuConfigurationExtensionPosition, b5 as MenuConfigurationExtensionPositionSchema, b6 as MenuConfigurationExtensionSchema, b7 as MenuConfigurationExtensionService, b8 as MenuConfigurationSchema, b9 as MenuConfigurationService, ba as MenuItem, bb as MenuItemSchema, bc as MenuItemType, bd as MetaClient, be as MetaListOptions, bf as Module, bg as ModuleSchema, bh as ModuleService, bi as ModuleStatus, d2 as NumberAttributeMeta, d3 as ObjectAttributeMeta, bj as OnDeleteAction, bk as OnDeleteActionSchema, bl as PAGE_ACTION_MATCH_MAX_LIMIT, d4 as PAGE_BACKGROUND_COLOR_RE, d5 as PAGE_BACKGROUND_TOKENS, bm as PAGE_EXTENSION_ANCHOR_MAIN, bn as PAGE_EXTENSION_ANCHOR_SIDE_PANEL, d6 as PAGE_HEADERS, bo as PLATFORM_ATTRIBUTE_NAMES, bq as Page, e as PageAction, br as PageActionIntent, bs as PageActionKind, bt as PageActionMatch, bu as PageActionMatchSchema, bv as PageActionSchema, d7 as PageBackgroundToken, bw as PageExtension, bx as PageExtensionPlacement, by as PageExtensionPlacementSchema, bz as PageExtensionSchema, bA as PageExtensionService, d8 as PageHeader, bB as PageLayout, bC as PageLayoutSchema, d9 as PageLayoutSidePanel, da as PageLayoutSidePanelSchema, bD as PageMode, bE as PageSchema, bF as PageService, db as PageStyle, dc as PageStyleSchema, bG as PageType, dd as PrincipalAttributeMeta, d as PrincipalRef, de as PrincipalType,
|
|
1
|
+
export { h as App, i as AppConfiguration, j as AppConfigurationSchema, k as AppConfigurationService, l as AppHome, m as AppHomeSchema, n as AppHomeType, o as AppSchema, p as AppService, q as ArrayAttributeMeta, a as Attribute, r as AttributeAccessRule, cz as AttributeForLookup, cA as AttributeMeta, s as AttributeRestrictions, t as AttributeSchema, u as AttributeType, cB as BUILT_IN_CONTROLS, cC as BuiltInControlSlug, cD as CALENDAR_MAX_OVERLAY_USERS, cE as CALENDAR_VIEW_KINDS, C as CURRENT_USER, w as CURRENT_USER_DEFAULT, cF as CalendarElement, cG as CalendarViewKind, cH as CardElement, y as Column, cI as ColumnElement, z as ColumnSchema, cJ as CommonProps, B as ComparisonOperator, D as Component, cK as ComponentElement, E as ComponentSchema, G as ComponentService, H as ContactAddressAttributeKind, I as ContactAddressAttributeMeta, J as ContactAddressAttributeMetaSchema, K as ContactBindingDuplicatePolicy, cL as ControlBucket, M as CreateAppConfigurationRequest, N as CreateAppRequest, O as CreateComponentRequest, Q as CreateDesignReferenceRequest, S as CreateEntityExtensionRequest, T as CreateEntityRequest, V as CreateListExtensionRequest, W as CreateListRequest, X as CreateListViewRequest, Y as CreateMenuConfigurationExtensionRequest, Z as CreateMenuConfigurationRequest, _ as CreatePageExtensionRequest, $ as CreatePageRequest, a0 as CreateVariableRequest, a1 as CurrencyAttributeMeta, a2 as CurrencyAttributeMetaSchema, a3 as CurrencySymbolSide, a4 as CurrencyValue, a5 as CurrentUserDefault, cM as DatetimeAttributeMeta, cN as DatetimeFormat, a9 as DeployModuleRequest, aa as DesignReference, ab as DesignReferenceContent, ac as DesignReferenceSchema, ad as DesignReferenceService, cO as DividerElement, af as Entity, ag as EntityContactBinding, ah as EntityContactBindingSchema, ai as EntityExtension, aj as EntityExtensionSchema, ak as EntityExtensionService, al as EntitySchema, am as EntityService, an as EntityWithSchema, ao as EntityWithSchemaSchema, ap as EnumAttributeMeta, aq as EnumValue, ar as ExtensionPosition, as as ExtensionPositionSchema, cP as FieldElement, at as FileAttributeMeta, cQ as FileAttributeMetaSchema, av as FilterElement, aw as FilterElementSchema, ax as FilterGroup, ay as FilterGroupSchema, cR as LayoutAlign, cS as LayoutElement, cT as LayoutElementSchema, cU as LayoutElementType, cV as LayoutGap, cW as LayoutJustify, cX as LayoutStep, cY as LayoutStepSchema, cZ as LayoutTab, c_ as LayoutTabSchema, c$ as LengthValue, d0 as LengthValueSchema, az as List, aA as ListAppConfigurationsOptions, aB as ListAppsOptions, aC as ListComponentsOptions, aD as ListDesignReferencesOptions, d1 as ListElement, aE as ListEntitiesOptions, aF as ListEntityExtensionsOptions, aG as ListExtension, aH as ListExtensionColumnPlacement, aI as ListExtensionColumnPlacementSchema, aJ as ListExtensionSchema, aK as ListExtensionService, aM as ListListExtensionsOptions, aN as ListListViewsOptions, aO as ListListsOptions, aP as ListMenuConfigurationExtensionsOptions, aQ as ListMenuConfigurationsOptions, aR as ListModulesOptions, aS as ListPageExtensionsOptions, aT as ListPagesOptions, aU as ListSchema, aV as ListService, aW as ListVariablesOptions, aX as ListView, aY as ListViewSchema, aZ as ListViewService, a_ as LogicalOperator, a$ as MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, b0 as MenuConfiguration, b1 as MenuConfigurationExtension, b2 as MenuConfigurationExtensionPlacement, b3 as MenuConfigurationExtensionPlacementSchema, b4 as MenuConfigurationExtensionPosition, b5 as MenuConfigurationExtensionPositionSchema, b6 as MenuConfigurationExtensionSchema, b7 as MenuConfigurationExtensionService, b8 as MenuConfigurationSchema, b9 as MenuConfigurationService, ba as MenuItem, bb as MenuItemSchema, bc as MenuItemType, bd as MetaClient, be as MetaListOptions, bf as Module, bg as ModuleSchema, bh as ModuleService, bi as ModuleStatus, d2 as NumberAttributeMeta, d3 as ObjectAttributeMeta, bj as OnDeleteAction, bk as OnDeleteActionSchema, bl as PAGE_ACTION_MATCH_MAX_LIMIT, d4 as PAGE_BACKGROUND_COLOR_RE, d5 as PAGE_BACKGROUND_TOKENS, bm as PAGE_EXTENSION_ANCHOR_MAIN, bn as PAGE_EXTENSION_ANCHOR_SIDE_PANEL, d6 as PAGE_HEADERS, bo as PLATFORM_ATTRIBUTE_NAMES, bq as Page, e as PageAction, br as PageActionIntent, bs as PageActionKind, bt as PageActionMatch, bu as PageActionMatchSchema, bv as PageActionSchema, d7 as PageBackgroundToken, bw as PageExtension, bx as PageExtensionPlacement, by as PageExtensionPlacementSchema, bz as PageExtensionSchema, bA as PageExtensionService, d8 as PageHeader, bB as PageLayout, bC as PageLayoutSchema, d9 as PageLayoutSidePanel, da as PageLayoutSidePanelSchema, bD as PageMode, bE as PageSchema, bF as PageService, db as PageStyle, dc as PageStyleSchema, bG as PageType, dd as PrincipalAttributeMeta, d as PrincipalRef, de as PrincipalType, g as PublicAccessOperation, bH as PublicPageComponent, bI as PublicPageResponse, df as RECORD_TITLE_FIELD, dg as RecordFilterElement, bJ as RecordPageBinding, bK as RecordPageBindingSchema, dh as RelatedListElement, di as RelatedRecordElement, bL as RelationAttributeMeta, bM as RelationAttributeMetaSchema, dj as ResponsiveSizing, dk as RowElement, dl as SchedulingPickerElement, dm as SectionElement, dn as SizeValue, dp as SizeValueSchema, dq as SizingProps, bP as SortConfig, bQ as SortConfigSchema, bR as SortDirection, dr as StepperElement, ds as StringAttributeMeta, dt as StringFormat, du as StyleSizeValue, dv as StyleSizeValueSchema, dw as TabsElement, dx as TextElement, dy as TextVariant, bU as TriggerPageBinding, bV as TriggerPageBindingSchema, bW as TriggerPhase, bX as UpdateAppConfigurationRequest, bY as UpdateAppRequest, bZ as UpdateComponentRequest, b_ as UpdateDesignReferenceRequest, b$ as UpdateEntityExtensionRequest, c0 as UpdateEntityRequest, c1 as UpdateListExtensionRequest, c2 as UpdateListRequest, c3 as UpdateListViewRequest, c4 as UpdateMenuConfigurationExtensionRequest, c5 as UpdateMenuConfigurationRequest, c6 as UpdatePageExtensionRequest, c7 as UpdatePageRequest, c8 as UpdateVariableRequest, dz as UserAttributeMeta, dA as UserAttributeMetaSchema, cb as Variable, cc as VariableSchema, cd as VariableService, dB as WorkflowTriggerElement, ce as acceptsCurrentUserDefault, cf as allCurrencyCodes, cg as bundleVersionOf, cj as currencyLabel, ck as currencySymbol, cl as currencySymbolSide, cm as formatAmount, cn as formatMoney, dC as isBuiltInControl, co as isCurrentUser, cp as isCurrentUserDefault, dD as isLengthValue, dE as isPageBackground, cq as isPlatformAttributeName, dF as isReservedAttributeName, dG as isStyleSizeValue, dH as isTitleQueryable, cr as localeNumberSeparators, dI as lookupCompatibleControls, dJ as lookupControls, dK as lookupPrimaryControl, cs as parseAmount, ct as parseContactAddressMeta, cu as parseCurrencyMeta, cv as parseFileMeta, dL as parsePrincipalMeta, cw as parseRelationMeta, dM as parseUserMeta, cx as platformAttributes, dN as titleTemplateVariables } from '../types-D38dRFU7.js';
|
|
2
2
|
import 'zod';
|
|
@@ -81,6 +81,12 @@ interface RequestOptions {
|
|
|
81
81
|
headers?: Record<string, string>;
|
|
82
82
|
/** AbortSignal for request cancellation */
|
|
83
83
|
signal?: AbortSignal;
|
|
84
|
+
/**
|
|
85
|
+
* Let the request outlive the page that sent it (fetch `keepalive`): for the
|
|
86
|
+
* last report a page sends as it is closed. Browsers cap the body of such
|
|
87
|
+
* requests at 64 KB in total.
|
|
88
|
+
*/
|
|
89
|
+
keepalive?: boolean;
|
|
84
90
|
}
|
|
85
91
|
|
|
86
92
|
/** One parsed Server-Sent-Events frame yielded by {@link ProteosClient.streamEvents}. */
|
|
@@ -6561,4 +6567,4 @@ declare function isCurrentUserDefault(value: unknown): value is CurrentUserDefau
|
|
|
6561
6567
|
/** Only the identity-valued attribute types can carry the sentinel. */
|
|
6562
6568
|
declare function acceptsCurrentUserDefault(type: AttributeType): boolean;
|
|
6563
6569
|
|
|
6564
|
-
export { type CreatePageRequest as $, type AuditFields as A, type ComparisonOperator as B, CURRENT_USER as C, type Component as D, ComponentSchema as E, type FileRef as F, type ComponentService as G, type ContactAddressAttributeKind as H, type ContactAddressAttributeMeta as I, ContactAddressAttributeMetaSchema as J, type ContactBindingDuplicatePolicy as K, type ListOptions as L, type CreateAppConfigurationRequest as M, type CreateAppRequest as N, type CreateComponentRequest as O, PageIterator as P, type CreateDesignReferenceRequest as Q, type
|
|
6570
|
+
export { type CreatePageRequest as $, type AuditFields as A, type ComparisonOperator as B, CURRENT_USER as C, type Component as D, ComponentSchema as E, type FileRef as F, type ComponentService as G, type ContactAddressAttributeKind as H, type ContactAddressAttributeMeta as I, ContactAddressAttributeMetaSchema as J, type ContactBindingDuplicatePolicy as K, type ListOptions as L, type CreateAppConfigurationRequest as M, type CreateAppRequest as N, type CreateComponentRequest as O, PageIterator as P, type CreateDesignReferenceRequest as Q, type RequestOptions as R, type CreateEntityExtensionRequest as S, type CreateEntityRequest as T, type UserRef as U, type CreateListExtensionRequest as V, type CreateListRequest as W, type CreateListViewRequest as X, type CreateMenuConfigurationExtensionRequest as Y, type CreateMenuConfigurationRequest as Z, type CreatePageExtensionRequest as _, type Attribute as a, MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS as a$, type CreateVariableRequest as a0, type CurrencyAttributeMeta as a1, CurrencyAttributeMetaSchema as a2, type CurrencySymbolSide as a3, type CurrencyValue as a4, type CurrentUserDefault as a5, DEFAULT_OPTIONS as a6, DEFAULT_PAGE_SIZE as a7, DONE as a8, type DeployModuleRequest as a9, type ListAppConfigurationsOptions as aA, type ListAppsOptions as aB, type ListComponentsOptions as aC, type ListDesignReferencesOptions as aD, type ListEntitiesOptions as aE, type ListEntityExtensionsOptions as aF, type ListExtension as aG, type ListExtensionColumnPlacement as aH, ListExtensionColumnPlacementSchema as aI, ListExtensionSchema as aJ, type ListExtensionService as aK, type ListFn as aL, type ListListExtensionsOptions as aM, type ListListViewsOptions as aN, type ListListsOptions as aO, type ListMenuConfigurationExtensionsOptions as aP, type ListMenuConfigurationsOptions as aQ, type ListModulesOptions as aR, type ListPageExtensionsOptions as aS, type ListPagesOptions as aT, ListSchema as aU, type ListService as aV, type ListVariablesOptions as aW, type ListView as aX, ListViewSchema as aY, type ListViewService as aZ, type LogicalOperator as a_, type DesignReference as aa, type DesignReferenceContent as ab, DesignReferenceSchema as ac, type DesignReferenceService as ad, type Done as ae, type Entity as af, type EntityContactBinding as ag, EntityContactBindingSchema as ah, type EntityExtension as ai, EntityExtensionSchema as aj, type EntityExtensionService as ak, EntitySchema as al, type EntityService as am, type EntityWithSchema as an, EntityWithSchemaSchema as ao, type EnumAttributeMeta as ap, type EnumValue as aq, type ExtensionPosition as ar, ExtensionPositionSchema as as, type FileAttributeMeta as at, FileRefSchema as au, type FilterElement as av, FilterElementSchema as aw, type FilterGroup as ax, FilterGroupSchema as ay, type List as az, type ListResult as b, type UpdateEntityExtensionRequest as b$, type MenuConfiguration as b0, type MenuConfigurationExtension as b1, type MenuConfigurationExtensionPlacement as b2, MenuConfigurationExtensionPlacementSchema as b3, type MenuConfigurationExtensionPosition as b4, MenuConfigurationExtensionPositionSchema as b5, MenuConfigurationExtensionSchema as b6, type MenuConfigurationExtensionService as b7, MenuConfigurationSchema as b8, type MenuConfigurationService as b9, type PageExtensionService as bA, type PageLayout as bB, PageLayoutSchema as bC, type PageMode as bD, PageSchema as bE, type PageService as bF, type PageType as bG, type PublicPageComponent as bH, type PublicPageResponse as bI, type RecordPageBinding as bJ, RecordPageBindingSchema as bK, type RelationAttributeMeta as bL, RelationAttributeMetaSchema as bM, type ResolvedClientOptions as bN, ResponseMetaSchema as bO, type SortConfig as bP, SortConfigSchema as bQ, type SortDirection as bR, type Timestamps as bS, type TokenProvider as bT, type TriggerPageBinding as bU, TriggerPageBindingSchema as bV, type TriggerPhase as bW, type UpdateAppConfigurationRequest as bX, type UpdateAppRequest as bY, type UpdateComponentRequest as bZ, type UpdateDesignReferenceRequest as b_, type MenuItem as ba, MenuItemSchema as bb, MenuItemType as bc, MetaClient as bd, type MetaListOptions as be, type Module as bf, ModuleSchema as bg, type ModuleService as bh, type ModuleStatus as bi, type OnDeleteAction as bj, OnDeleteActionSchema as bk, PAGE_ACTION_MATCH_MAX_LIMIT as bl, PAGE_EXTENSION_ANCHOR_MAIN as bm, PAGE_EXTENSION_ANCHOR_SIDE_PANEL as bn, PLATFORM_ATTRIBUTE_NAMES as bo, PLATFORM_USER_ID as bp, type Page as bq, type PageActionIntent as br, type PageActionKind as bs, type PageActionMatch as bt, PageActionMatchSchema as bu, PageActionSchema as bv, type PageExtension as bw, type PageExtensionPlacement as bx, PageExtensionPlacementSchema as by, PageExtensionSchema as bz, ProteosClient as c, type LengthValue as c$, type UpdateEntityRequest as c0, type UpdateListExtensionRequest as c1, type UpdateListRequest as c2, type UpdateListViewRequest as c3, type UpdateMenuConfigurationExtensionRequest as c4, type UpdateMenuConfigurationRequest as c5, type UpdatePageExtensionRequest as c6, type UpdatePageRequest as c7, type UpdateVariableRequest as c8, UserRefSchema as c9, type AttributeMeta as cA, BUILT_IN_CONTROLS as cB, type BuiltInControlSlug as cC, CALENDAR_MAX_OVERLAY_USERS as cD, CALENDAR_VIEW_KINDS as cE, type CalendarElement as cF, type CalendarViewKind as cG, type CardElement as cH, type ColumnElement as cI, type CommonProps as cJ, type ComponentElement as cK, type ControlBucket as cL, type DatetimeAttributeMeta as cM, type DatetimeFormat as cN, type DividerElement as cO, type FieldElement as cP, FileAttributeMetaSchema as cQ, type LayoutAlign as cR, type LayoutElement as cS, LayoutElementSchema as cT, LayoutElementType as cU, type LayoutGap as cV, type LayoutJustify as cW, type LayoutStep as cX, LayoutStepSchema as cY, type LayoutTab as cZ, LayoutTabSchema as c_, type UserType as ca, type Variable as cb, VariableSchema as cc, type VariableService as cd, acceptsCurrentUserDefault as ce, allCurrencyCodes as cf, bundleVersionOf as cg, createIterator as ch, createListResultSchema as ci, currencyLabel as cj, currencySymbol as ck, currencySymbolSide as cl, formatAmount as cm, formatMoney as cn, isCurrentUser as co, isCurrentUserDefault as cp, isPlatformAttributeName as cq, localeNumberSeparators as cr, parseAmount as cs, parseContactAddressMeta as ct, parseCurrencyMeta as cu, parseFileMeta as cv, parseRelationMeta as cw, platformAttributes as cx, resolveOptions as cy, type AttributeForLookup as cz, type PrincipalRef as d, LengthValueSchema as d0, type ListElement as d1, type NumberAttributeMeta as d2, type ObjectAttributeMeta as d3, PAGE_BACKGROUND_COLOR_RE as d4, PAGE_BACKGROUND_TOKENS as d5, PAGE_HEADERS as d6, type PageBackgroundToken as d7, type PageHeader as d8, type PageLayoutSidePanel as d9, UserAttributeMetaSchema as dA, type WorkflowTriggerElement as dB, isBuiltInControl as dC, isLengthValue as dD, isPageBackground as dE, isReservedAttributeName as dF, isStyleSizeValue as dG, isTitleQueryable as dH, lookupCompatibleControls as dI, lookupControls as dJ, lookupPrimaryControl as dK, parsePrincipalMeta as dL, parseUserMeta as dM, titleTemplateVariables as dN, PageLayoutSidePanelSchema as da, type PageStyle as db, PageStyleSchema as dc, type PrincipalAttributeMeta as dd, type PrincipalType as de, RECORD_TITLE_FIELD as df, type RecordFilterElement as dg, type RelatedListElement as dh, type RelatedRecordElement as di, type ResponsiveSizing as dj, type RowElement as dk, type SchedulingPickerElement as dl, type SectionElement as dm, type SizeValue as dn, SizeValueSchema as dp, type SizingProps as dq, type StepperElement as dr, type StringAttributeMeta as ds, type StringFormat as dt, type StyleSizeValue as du, StyleSizeValueSchema as dv, type TabsElement as dw, type TextElement as dx, type TextVariant as dy, type UserAttributeMeta as dz, type PageAction as e, type ResponseMeta as f, type PublicAccessOperation as g, type App as h, type AppConfiguration as i, AppConfigurationSchema as j, type AppConfigurationService as k, type AppHome as l, AppHomeSchema as m, type AppHomeType as n, AppSchema as o, type AppService as p, type ArrayAttributeMeta as q, type AttributeAccessRule as r, type AttributeRestrictions as s, AttributeSchema as t, type AttributeType as u, AuditFieldsSchema as v, CURRENT_USER_DEFAULT as w, type ClientOptions as x, type Column as y, ColumnSchema as z };
|
|
@@ -81,6 +81,12 @@ interface RequestOptions {
|
|
|
81
81
|
headers?: Record<string, string>;
|
|
82
82
|
/** AbortSignal for request cancellation */
|
|
83
83
|
signal?: AbortSignal;
|
|
84
|
+
/**
|
|
85
|
+
* Let the request outlive the page that sent it (fetch `keepalive`): for the
|
|
86
|
+
* last report a page sends as it is closed. Browsers cap the body of such
|
|
87
|
+
* requests at 64 KB in total.
|
|
88
|
+
*/
|
|
89
|
+
keepalive?: boolean;
|
|
84
90
|
}
|
|
85
91
|
|
|
86
92
|
/** One parsed Server-Sent-Events frame yielded by {@link ProteosClient.streamEvents}. */
|
|
@@ -6561,4 +6567,4 @@ declare function isCurrentUserDefault(value: unknown): value is CurrentUserDefau
|
|
|
6561
6567
|
/** Only the identity-valued attribute types can carry the sentinel. */
|
|
6562
6568
|
declare function acceptsCurrentUserDefault(type: AttributeType): boolean;
|
|
6563
6569
|
|
|
6564
|
-
export { type CreatePageRequest as $, type AuditFields as A, type ComparisonOperator as B, CURRENT_USER as C, type Component as D, ComponentSchema as E, type FileRef as F, type ComponentService as G, type ContactAddressAttributeKind as H, type ContactAddressAttributeMeta as I, ContactAddressAttributeMetaSchema as J, type ContactBindingDuplicatePolicy as K, type ListOptions as L, type CreateAppConfigurationRequest as M, type CreateAppRequest as N, type CreateComponentRequest as O, PageIterator as P, type CreateDesignReferenceRequest as Q, type
|
|
6570
|
+
export { type CreatePageRequest as $, type AuditFields as A, type ComparisonOperator as B, CURRENT_USER as C, type Component as D, ComponentSchema as E, type FileRef as F, type ComponentService as G, type ContactAddressAttributeKind as H, type ContactAddressAttributeMeta as I, ContactAddressAttributeMetaSchema as J, type ContactBindingDuplicatePolicy as K, type ListOptions as L, type CreateAppConfigurationRequest as M, type CreateAppRequest as N, type CreateComponentRequest as O, PageIterator as P, type CreateDesignReferenceRequest as Q, type RequestOptions as R, type CreateEntityExtensionRequest as S, type CreateEntityRequest as T, type UserRef as U, type CreateListExtensionRequest as V, type CreateListRequest as W, type CreateListViewRequest as X, type CreateMenuConfigurationExtensionRequest as Y, type CreateMenuConfigurationRequest as Z, type CreatePageExtensionRequest as _, type Attribute as a, MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS as a$, type CreateVariableRequest as a0, type CurrencyAttributeMeta as a1, CurrencyAttributeMetaSchema as a2, type CurrencySymbolSide as a3, type CurrencyValue as a4, type CurrentUserDefault as a5, DEFAULT_OPTIONS as a6, DEFAULT_PAGE_SIZE as a7, DONE as a8, type DeployModuleRequest as a9, type ListAppConfigurationsOptions as aA, type ListAppsOptions as aB, type ListComponentsOptions as aC, type ListDesignReferencesOptions as aD, type ListEntitiesOptions as aE, type ListEntityExtensionsOptions as aF, type ListExtension as aG, type ListExtensionColumnPlacement as aH, ListExtensionColumnPlacementSchema as aI, ListExtensionSchema as aJ, type ListExtensionService as aK, type ListFn as aL, type ListListExtensionsOptions as aM, type ListListViewsOptions as aN, type ListListsOptions as aO, type ListMenuConfigurationExtensionsOptions as aP, type ListMenuConfigurationsOptions as aQ, type ListModulesOptions as aR, type ListPageExtensionsOptions as aS, type ListPagesOptions as aT, ListSchema as aU, type ListService as aV, type ListVariablesOptions as aW, type ListView as aX, ListViewSchema as aY, type ListViewService as aZ, type LogicalOperator as a_, type DesignReference as aa, type DesignReferenceContent as ab, DesignReferenceSchema as ac, type DesignReferenceService as ad, type Done as ae, type Entity as af, type EntityContactBinding as ag, EntityContactBindingSchema as ah, type EntityExtension as ai, EntityExtensionSchema as aj, type EntityExtensionService as ak, EntitySchema as al, type EntityService as am, type EntityWithSchema as an, EntityWithSchemaSchema as ao, type EnumAttributeMeta as ap, type EnumValue as aq, type ExtensionPosition as ar, ExtensionPositionSchema as as, type FileAttributeMeta as at, FileRefSchema as au, type FilterElement as av, FilterElementSchema as aw, type FilterGroup as ax, FilterGroupSchema as ay, type List as az, type ListResult as b, type UpdateEntityExtensionRequest as b$, type MenuConfiguration as b0, type MenuConfigurationExtension as b1, type MenuConfigurationExtensionPlacement as b2, MenuConfigurationExtensionPlacementSchema as b3, type MenuConfigurationExtensionPosition as b4, MenuConfigurationExtensionPositionSchema as b5, MenuConfigurationExtensionSchema as b6, type MenuConfigurationExtensionService as b7, MenuConfigurationSchema as b8, type MenuConfigurationService as b9, type PageExtensionService as bA, type PageLayout as bB, PageLayoutSchema as bC, type PageMode as bD, PageSchema as bE, type PageService as bF, type PageType as bG, type PublicPageComponent as bH, type PublicPageResponse as bI, type RecordPageBinding as bJ, RecordPageBindingSchema as bK, type RelationAttributeMeta as bL, RelationAttributeMetaSchema as bM, type ResolvedClientOptions as bN, ResponseMetaSchema as bO, type SortConfig as bP, SortConfigSchema as bQ, type SortDirection as bR, type Timestamps as bS, type TokenProvider as bT, type TriggerPageBinding as bU, TriggerPageBindingSchema as bV, type TriggerPhase as bW, type UpdateAppConfigurationRequest as bX, type UpdateAppRequest as bY, type UpdateComponentRequest as bZ, type UpdateDesignReferenceRequest as b_, type MenuItem as ba, MenuItemSchema as bb, MenuItemType as bc, MetaClient as bd, type MetaListOptions as be, type Module as bf, ModuleSchema as bg, type ModuleService as bh, type ModuleStatus as bi, type OnDeleteAction as bj, OnDeleteActionSchema as bk, PAGE_ACTION_MATCH_MAX_LIMIT as bl, PAGE_EXTENSION_ANCHOR_MAIN as bm, PAGE_EXTENSION_ANCHOR_SIDE_PANEL as bn, PLATFORM_ATTRIBUTE_NAMES as bo, PLATFORM_USER_ID as bp, type Page as bq, type PageActionIntent as br, type PageActionKind as bs, type PageActionMatch as bt, PageActionMatchSchema as bu, PageActionSchema as bv, type PageExtension as bw, type PageExtensionPlacement as bx, PageExtensionPlacementSchema as by, PageExtensionSchema as bz, ProteosClient as c, type LengthValue as c$, type UpdateEntityRequest as c0, type UpdateListExtensionRequest as c1, type UpdateListRequest as c2, type UpdateListViewRequest as c3, type UpdateMenuConfigurationExtensionRequest as c4, type UpdateMenuConfigurationRequest as c5, type UpdatePageExtensionRequest as c6, type UpdatePageRequest as c7, type UpdateVariableRequest as c8, UserRefSchema as c9, type AttributeMeta as cA, BUILT_IN_CONTROLS as cB, type BuiltInControlSlug as cC, CALENDAR_MAX_OVERLAY_USERS as cD, CALENDAR_VIEW_KINDS as cE, type CalendarElement as cF, type CalendarViewKind as cG, type CardElement as cH, type ColumnElement as cI, type CommonProps as cJ, type ComponentElement as cK, type ControlBucket as cL, type DatetimeAttributeMeta as cM, type DatetimeFormat as cN, type DividerElement as cO, type FieldElement as cP, FileAttributeMetaSchema as cQ, type LayoutAlign as cR, type LayoutElement as cS, LayoutElementSchema as cT, LayoutElementType as cU, type LayoutGap as cV, type LayoutJustify as cW, type LayoutStep as cX, LayoutStepSchema as cY, type LayoutTab as cZ, LayoutTabSchema as c_, type UserType as ca, type Variable as cb, VariableSchema as cc, type VariableService as cd, acceptsCurrentUserDefault as ce, allCurrencyCodes as cf, bundleVersionOf as cg, createIterator as ch, createListResultSchema as ci, currencyLabel as cj, currencySymbol as ck, currencySymbolSide as cl, formatAmount as cm, formatMoney as cn, isCurrentUser as co, isCurrentUserDefault as cp, isPlatformAttributeName as cq, localeNumberSeparators as cr, parseAmount as cs, parseContactAddressMeta as ct, parseCurrencyMeta as cu, parseFileMeta as cv, parseRelationMeta as cw, platformAttributes as cx, resolveOptions as cy, type AttributeForLookup as cz, type PrincipalRef as d, LengthValueSchema as d0, type ListElement as d1, type NumberAttributeMeta as d2, type ObjectAttributeMeta as d3, PAGE_BACKGROUND_COLOR_RE as d4, PAGE_BACKGROUND_TOKENS as d5, PAGE_HEADERS as d6, type PageBackgroundToken as d7, type PageHeader as d8, type PageLayoutSidePanel as d9, UserAttributeMetaSchema as dA, type WorkflowTriggerElement as dB, isBuiltInControl as dC, isLengthValue as dD, isPageBackground as dE, isReservedAttributeName as dF, isStyleSizeValue as dG, isTitleQueryable as dH, lookupCompatibleControls as dI, lookupControls as dJ, lookupPrimaryControl as dK, parsePrincipalMeta as dL, parseUserMeta as dM, titleTemplateVariables as dN, PageLayoutSidePanelSchema as da, type PageStyle as db, PageStyleSchema as dc, type PrincipalAttributeMeta as dd, type PrincipalType as de, RECORD_TITLE_FIELD as df, type RecordFilterElement as dg, type RelatedListElement as dh, type RelatedRecordElement as di, type ResponsiveSizing as dj, type RowElement as dk, type SchedulingPickerElement as dl, type SectionElement as dm, type SizeValue as dn, SizeValueSchema as dp, type SizingProps as dq, type StepperElement as dr, type StringAttributeMeta as ds, type StringFormat as dt, type StyleSizeValue as du, StyleSizeValueSchema as dv, type TabsElement as dw, type TextElement as dx, type TextVariant as dy, type UserAttributeMeta as dz, type PageAction as e, type ResponseMeta as f, type PublicAccessOperation as g, type App as h, type AppConfiguration as i, AppConfigurationSchema as j, type AppConfigurationService as k, type AppHome as l, AppHomeSchema as m, type AppHomeType as n, AppSchema as o, type AppService as p, type ArrayAttributeMeta as q, type AttributeAccessRule as r, type AttributeRestrictions as s, AttributeSchema as t, type AttributeType as u, AuditFieldsSchema as v, CURRENT_USER_DEFAULT as w, type ClientOptions as x, type Column as y, ColumnSchema as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proteos/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.88.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "TypeScript SDK for the Proteos platform",
|
|
6
6
|
"repository": {
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"tsup": "^8.3.0",
|
|
67
67
|
"typescript": "^5.7.0",
|
|
68
68
|
"vitest": "^3.0.0",
|
|
69
|
-
"@proteos/
|
|
70
|
-
"@proteos/
|
|
69
|
+
"@proteos/biome-config": "0.0.0",
|
|
70
|
+
"@proteos/tsconfig": "0.0.0"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "tsup",
|
package/src/agent/index.ts
CHANGED
|
@@ -90,6 +90,8 @@ export type {
|
|
|
90
90
|
DecisionResult,
|
|
91
91
|
GenerateRequest,
|
|
92
92
|
GenerationResult,
|
|
93
|
+
ModelInfo,
|
|
94
|
+
ModelProviderName,
|
|
93
95
|
ModelStopReason,
|
|
94
96
|
ScoreAnswer,
|
|
95
97
|
ScoreQuestion,
|
|
@@ -102,37 +104,62 @@ export type {
|
|
|
102
104
|
AgentArtifactsPayload,
|
|
103
105
|
AgentMessagePayload,
|
|
104
106
|
AppendEventRequest,
|
|
107
|
+
AppendSpeechRequest,
|
|
108
|
+
AwaitingToolUse,
|
|
105
109
|
ClientEventType,
|
|
106
110
|
ClientToolSchema,
|
|
107
111
|
ContentBlock,
|
|
108
112
|
ContextCompactedPayload,
|
|
109
113
|
CreateSessionRequest,
|
|
114
|
+
DelegatedSessionUpdatedPayload,
|
|
115
|
+
DeltaBoundaryPayload,
|
|
116
|
+
DeltaEventType,
|
|
110
117
|
EmptyPayload,
|
|
118
|
+
EndVoiceRequest,
|
|
111
119
|
ErrorPayload,
|
|
112
120
|
EventType,
|
|
113
121
|
FileBlock,
|
|
114
122
|
ListSessionsOptions,
|
|
123
|
+
MessageDeltaPayload,
|
|
115
124
|
ModelRequestEndPayload,
|
|
116
125
|
ModelRequestStartPayload,
|
|
117
126
|
ModelUsage,
|
|
127
|
+
ReasoningDeltaPayload,
|
|
118
128
|
ReasoningPayload,
|
|
119
129
|
ResultBlock,
|
|
120
130
|
Session,
|
|
131
|
+
SessionDeltaEntry,
|
|
132
|
+
SessionDeltaFrame,
|
|
133
|
+
SessionDeltaStreamOptions,
|
|
121
134
|
SessionEvent,
|
|
122
135
|
SessionEventEnvelope,
|
|
123
136
|
SessionEventsOptions,
|
|
124
137
|
SessionIdlePayload,
|
|
138
|
+
SessionRunningPayload,
|
|
125
139
|
SessionStatus,
|
|
126
140
|
SessionStreamOptions,
|
|
141
|
+
SessionToolKind,
|
|
127
142
|
SessionUpdatedPayload,
|
|
143
|
+
SpeechPayload,
|
|
144
|
+
SpeechSegment,
|
|
145
|
+
StartVoiceRequest,
|
|
146
|
+
StartVoiceResponse,
|
|
128
147
|
StopReason,
|
|
129
148
|
TextBlock,
|
|
130
149
|
ToolConfirmationPayload,
|
|
131
150
|
ToolResultPayload,
|
|
151
|
+
ToolUseDeltaPayload,
|
|
132
152
|
ToolUsePayload,
|
|
153
|
+
ToolUseStartPayload,
|
|
133
154
|
Turn,
|
|
134
155
|
UserMessagePayload,
|
|
156
|
+
VoiceEndedPayload,
|
|
157
|
+
VoiceEndReason,
|
|
158
|
+
VoiceRequestPayload,
|
|
159
|
+
VoiceSession,
|
|
160
|
+
VoiceStartedPayload,
|
|
135
161
|
} from './session-types.js'
|
|
162
|
+
export { isDeltaFrame } from './session-types.js'
|
|
136
163
|
export type { SessionService } from './sessions.js'
|
|
137
164
|
export type { SkillService } from './skills.js'
|
|
138
165
|
export type { ToolService } from './tools.js'
|
|
@@ -142,6 +169,7 @@ export type {
|
|
|
142
169
|
ActionBinding,
|
|
143
170
|
Agent,
|
|
144
171
|
AgentResourceListOptions,
|
|
172
|
+
AgentRuntime,
|
|
145
173
|
CreateAgentRequest,
|
|
146
174
|
CreateMcpServerRequest,
|
|
147
175
|
CreatePromptRequest,
|
package/src/agent/model-types.ts
CHANGED
|
@@ -9,7 +9,29 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
import type { ContentBlock, ModelUsage, TextBlock } from './session-types.js'
|
|
12
|
-
import type { ModelConfig } from './types.js'
|
|
12
|
+
import type { AgentRuntime, ModelConfig } from './types.js'
|
|
13
|
+
|
|
14
|
+
// ---------------------------------------------------------------------------
|
|
15
|
+
// Model catalog
|
|
16
|
+
// ---------------------------------------------------------------------------
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The model provider that serves a model. An open string so a provider added
|
|
20
|
+
* server-side never breaks decoding.
|
|
21
|
+
*/
|
|
22
|
+
export type ModelProviderName = 'anthropic' | 'openai' | 'google' | (string & {})
|
|
23
|
+
|
|
24
|
+
/** One model an agent can be configured with (`GET /agents/v1/models`). */
|
|
25
|
+
export interface ModelInfo {
|
|
26
|
+
/** The id an agent's `model_config.model_id` takes. */
|
|
27
|
+
id: string
|
|
28
|
+
name: string
|
|
29
|
+
provider: ModelProviderName
|
|
30
|
+
/** The runtimes an agent with this model can run on. */
|
|
31
|
+
runtimes: AgentRuntime[]
|
|
32
|
+
/** Tokens one request can hold, input and output together. Absent when unknown. */
|
|
33
|
+
context_window?: number
|
|
34
|
+
}
|
|
13
35
|
|
|
14
36
|
// ---------------------------------------------------------------------------
|
|
15
37
|
// Generation (one message out)
|
package/src/agent/models.ts
CHANGED
|
@@ -5,23 +5,31 @@ import type {
|
|
|
5
5
|
DecisionResult,
|
|
6
6
|
GenerateRequest,
|
|
7
7
|
GenerationResult,
|
|
8
|
+
ModelInfo,
|
|
8
9
|
} from './model-types.js'
|
|
9
10
|
|
|
10
11
|
const MODELS_BASE_PATH = '/agents/v1/models'
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
|
-
* Service for the stateless model calls — one request in,
|
|
14
|
-
* session, no event log:
|
|
14
|
+
* Service for the model catalog and the stateless model calls — one request in,
|
|
15
|
+
* one reply out, no session, no event log:
|
|
15
16
|
*
|
|
17
|
+
* - `list` — the models an agent can be configured with. Needs `agents:read`.
|
|
16
18
|
* - `generate` — free text or schema-constrained structured output from an LLM.
|
|
17
19
|
* - `decide` — calibrated typed answers (boolean | choice | score) with
|
|
18
20
|
* probabilities and confidence, for snap judgments inside code paths
|
|
19
21
|
* (routing, triage, classification, gates). No prose comes back; compose the
|
|
20
22
|
* answers in code and threshold on `confidence`.
|
|
21
23
|
*
|
|
22
|
-
*
|
|
24
|
+
* `generate` and `decide` need the `agent-sessions:write` permission.
|
|
23
25
|
*/
|
|
24
26
|
export interface ModelService {
|
|
27
|
+
/**
|
|
28
|
+
* Lists the models an agent can be configured with: those of the model
|
|
29
|
+
* providers the service has credentials for, each provider's newest first.
|
|
30
|
+
* `runtimes` says which agent runtimes can run a model.
|
|
31
|
+
*/
|
|
32
|
+
list(): Promise<ModelInfo[]>
|
|
25
33
|
/**
|
|
26
34
|
* Runs a single model call and returns the assistant message.
|
|
27
35
|
* @throws {ProteosError} 400 `invalid_generation_request` / `unsupported_file_type` /
|
|
@@ -51,6 +59,11 @@ export interface ModelService {
|
|
|
51
59
|
export class ModelServiceImpl implements ModelService {
|
|
52
60
|
constructor(private readonly client: ProteosClient) {}
|
|
53
61
|
|
|
62
|
+
async list(): Promise<ModelInfo[]> {
|
|
63
|
+
const response = await this.client.request<{ data: ModelInfo[] }>('GET', MODELS_BASE_PATH)
|
|
64
|
+
return response.data
|
|
65
|
+
}
|
|
66
|
+
|
|
54
67
|
async generate(request: GenerateRequest): Promise<GenerationResult> {
|
|
55
68
|
return this.client.request<GenerationResult>('POST', `${MODELS_BASE_PATH}/generate`, request)
|
|
56
69
|
}
|