@burdenoff/microfe-botmanor 2026.1127.5 → 2026.1127.7

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.
Files changed (33) hide show
  1. package/dist/botlit/components/BotVersionHistoryPanel.js +136 -128
  2. package/dist/botlit/components/BotVersionHistoryPanel.js.map +1 -1
  3. package/dist/botlit/components/VersionHistoryPanel.js +129 -110
  4. package/dist/botlit/components/VersionHistoryPanel.js.map +1 -1
  5. package/dist/botlit/hooks/internal/workspaceGateway.d.ts +2 -0
  6. package/dist/botlit/hooks/internal/workspaceGateway.js +6 -2
  7. package/dist/botlit/hooks/internal/workspaceGateway.js.map +1 -1
  8. package/dist/botlit/hooks/useAgents.d.ts +1 -6
  9. package/dist/botlit/hooks/useAgents.js +89 -123
  10. package/dist/botlit/hooks/useAgents.js.map +1 -1
  11. package/dist/botlit/hooks/useBotVersions.d.ts +2 -2
  12. package/dist/botlit/hooks/useBotVersions.js +20 -28
  13. package/dist/botlit/hooks/useBotVersions.js.map +1 -1
  14. package/dist/botlit/hooks/usePolicies.d.ts +6 -2
  15. package/dist/botlit/hooks/usePolicies.js +57 -34
  16. package/dist/botlit/hooks/usePolicies.js.map +1 -1
  17. package/dist/botlit/hooks/useRetrievalProfiles.d.ts +5 -1
  18. package/dist/botlit/hooks/useRetrievalProfiles.js +49 -31
  19. package/dist/botlit/hooks/useRetrievalProfiles.js.map +1 -1
  20. package/dist/botlit/pages/AgentDetailPage.js +103 -103
  21. package/dist/botlit/pages/AgentDetailPage.js.map +1 -1
  22. package/dist/botlit/pages/BotDetailPage.js +1 -1
  23. package/dist/botlit/pages/BotDetailPage.js.map +1 -1
  24. package/dist/botlit/pages/PoliciesPage.js +177 -152
  25. package/dist/botlit/pages/PoliciesPage.js.map +1 -1
  26. package/dist/botlit/pages/RetrievalProfilesPage.js +171 -154
  27. package/dist/botlit/pages/RetrievalProfilesPage.js.map +1 -1
  28. package/dist/generated/wspace-operations.d.ts +187 -0
  29. package/dist/generated/wspace-operations.js +111 -51
  30. package/dist/generated/wspace-operations.js.map +1 -1
  31. package/dist/generated/wspace-types.js +3 -1
  32. package/dist/generated/wspace-types.js.map +1 -1
  33. package/package.json +1 -1
@@ -977,6 +977,7 @@ export type UpdateStorePackageDraftInput = {
977
977
  slug?: string | null | undefined;
978
978
  version?: string | null | undefined;
979
979
  };
980
+ export type VersionStatus = 'DRAFT' | 'HISTORICAL' | 'PUBLISHED';
980
981
  export type Visibility = 'PRIVATE' | 'PUBLIC' | 'WORKSPACE';
981
982
  export type CheckA2APlanQuotaQueryVariables = Exact<{
982
983
  workspaceId: string | number;
@@ -3060,6 +3061,23 @@ export type ListPoliciesQuery = {
3060
3061
  workspaceId: string;
3061
3062
  }>;
3062
3063
  };
3064
+ export type ListBotmanorPoliciesPageQueryVariables = Exact<{
3065
+ filters?: Types.PolicyFilterInput | null | undefined;
3066
+ pagination?: Types.BotmanorOffsetPaginationInput | null | undefined;
3067
+ }>;
3068
+ export type ListBotmanorPoliciesPageQuery = {
3069
+ listBotmanorPoliciesPage: {
3070
+ nextOffset: number | null;
3071
+ items: Array<{
3072
+ createdAt: string;
3073
+ description: string | null;
3074
+ id: string;
3075
+ name: string;
3076
+ status: Types.EntityStatus;
3077
+ type: Types.PolicyType;
3078
+ }>;
3079
+ };
3080
+ };
3063
3081
  export type CreatePolicyMutationVariables = Exact<{
3064
3082
  input: Types.CreatePolicyInput;
3065
3083
  }>;
@@ -3456,6 +3474,25 @@ export type ListRetrievalProfilesQuery = {
3456
3474
  workspaceId: string;
3457
3475
  }>;
3458
3476
  };
3477
+ export type ListBotmanorRetrievalProfilesPageQueryVariables = Exact<{
3478
+ filters?: Types.RetrievalProfileFilterInput | null | undefined;
3479
+ pagination?: Types.BotmanorOffsetPaginationInput | null | undefined;
3480
+ }>;
3481
+ export type ListBotmanorRetrievalProfilesPageQuery = {
3482
+ listBotmanorRetrievalProfilesPage: {
3483
+ nextOffset: number | null;
3484
+ items: Array<{
3485
+ citationsRequired: boolean;
3486
+ createdAt: string;
3487
+ description: string | null;
3488
+ id: string;
3489
+ name: string;
3490
+ status: Types.EntityStatus;
3491
+ strategyMode: Types.RetrievalMode;
3492
+ topK: number;
3493
+ }>;
3494
+ };
3495
+ };
3459
3496
  export type CreateRetrievalProfileMutationVariables = Exact<{
3460
3497
  input: Types.CreateRetrievalProfileInput;
3461
3498
  }>;
@@ -4524,6 +4561,42 @@ export type AgentExecutionUpdatedSubscription = {
4524
4561
  completedAt: string | null;
4525
4562
  };
4526
4563
  };
4564
+ export type ListBotmanorAgentVersionsPageQueryVariables = Exact<{
4565
+ agentId: string | number;
4566
+ pagination?: Types.BotmanorOffsetPaginationInput | null | undefined;
4567
+ }>;
4568
+ export type ListBotmanorAgentVersionsPageQuery = {
4569
+ listBotmanorAgentVersionsPage: {
4570
+ nextOffset: number | null;
4571
+ items: Array<{
4572
+ agentId: string;
4573
+ changelog: string | null;
4574
+ createdAt: string;
4575
+ id: string;
4576
+ publishedAt: string | null;
4577
+ status: Types.VersionStatus;
4578
+ version: string;
4579
+ }>;
4580
+ };
4581
+ };
4582
+ export type ListBotmanorAppVersionsPageQueryVariables = Exact<{
4583
+ botAppId: string | number;
4584
+ pagination?: Types.BotmanorOffsetPaginationInput | null | undefined;
4585
+ }>;
4586
+ export type ListBotmanorAppVersionsPageQuery = {
4587
+ listBotmanorAppVersionsPage: {
4588
+ nextOffset: number | null;
4589
+ items: Array<{
4590
+ botAppId: string;
4591
+ changelog: string | null;
4592
+ createdAt: string;
4593
+ id: string;
4594
+ publishedAt: string | null;
4595
+ status: Types.VersionStatus;
4596
+ version: string;
4597
+ }>;
4598
+ };
4599
+ };
4527
4600
  export declare const AgentBindingsFieldsFragmentDoc: Apollo.DocumentNode;
4528
4601
  export declare const StorePackageValidationFieldsFragmentDoc: Apollo.DocumentNode;
4529
4602
  export declare const StorePackageSubmissionFieldsFragmentDoc: Apollo.DocumentNode;
@@ -7318,6 +7391,32 @@ export type ListPoliciesQueryHookResult = ReturnType<typeof useListPoliciesQuery
7318
7391
  export type ListPoliciesLazyQueryHookResult = ReturnType<typeof useListPoliciesLazyQuery>;
7319
7392
  export type ListPoliciesSuspenseQueryHookResult = ReturnType<typeof useListPoliciesSuspenseQuery>;
7320
7393
  export type ListPoliciesQueryResult = Apollo.QueryResult<Types.ListPoliciesQuery, Types.ListPoliciesQueryVariables>;
7394
+ export declare const ListBotmanorPoliciesPageDocument: Apollo.DocumentNode;
7395
+ /**
7396
+ * __useListBotmanorPoliciesPageQuery__
7397
+ *
7398
+ * To run a query within a React component, call `useListBotmanorPoliciesPageQuery` and pass it any options that fit your needs.
7399
+ * When your component renders, `useListBotmanorPoliciesPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
7400
+ * you can use to render your UI.
7401
+ *
7402
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
7403
+ *
7404
+ * @example
7405
+ * const { data, loading, error } = useListBotmanorPoliciesPageQuery({
7406
+ * variables: {
7407
+ * filters: // value for 'filters'
7408
+ * pagination: // value for 'pagination'
7409
+ * },
7410
+ * });
7411
+ */
7412
+ export declare function useListBotmanorPoliciesPageQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListBotmanorPoliciesPageQuery, Types.ListBotmanorPoliciesPageQueryVariables>): ApolloReactHooks.useQuery.Result<Types.ListBotmanorPoliciesPageQuery, Types.ListBotmanorPoliciesPageQueryVariables, "empty" | "complete" | "streaming", Types.ListBotmanorPoliciesPageQueryVariables, undefined>;
7413
+ export declare function useListBotmanorPoliciesPageLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListBotmanorPoliciesPageQuery, Types.ListBotmanorPoliciesPageQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.ListBotmanorPoliciesPageQuery, Types.ListBotmanorPoliciesPageQueryVariables, "empty" | "complete" | "streaming", undefined>;
7414
+ export declare function useListBotmanorPoliciesPageSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListBotmanorPoliciesPageQuery, Types.ListBotmanorPoliciesPageQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListBotmanorPoliciesPageQuery, Types.ListBotmanorPoliciesPageQueryVariables>;
7415
+ export declare function useListBotmanorPoliciesPageSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListBotmanorPoliciesPageQuery, Types.ListBotmanorPoliciesPageQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListBotmanorPoliciesPageQuery | undefined, Types.ListBotmanorPoliciesPageQueryVariables>;
7416
+ export type ListBotmanorPoliciesPageQueryHookResult = ReturnType<typeof useListBotmanorPoliciesPageQuery>;
7417
+ export type ListBotmanorPoliciesPageLazyQueryHookResult = ReturnType<typeof useListBotmanorPoliciesPageLazyQuery>;
7418
+ export type ListBotmanorPoliciesPageSuspenseQueryHookResult = ReturnType<typeof useListBotmanorPoliciesPageSuspenseQuery>;
7419
+ export type ListBotmanorPoliciesPageQueryResult = Apollo.QueryResult<Types.ListBotmanorPoliciesPageQuery, Types.ListBotmanorPoliciesPageQueryVariables>;
7321
7420
  export declare const CreatePolicyDocument: Apollo.DocumentNode;
7322
7421
  export type CreatePolicyMutationFn = Apollo.MutationFunction<Types.CreatePolicyMutation, Types.CreatePolicyMutationVariables>;
7323
7422
  /**
@@ -7773,6 +7872,32 @@ export type ListRetrievalProfilesQueryHookResult = ReturnType<typeof useListRetr
7773
7872
  export type ListRetrievalProfilesLazyQueryHookResult = ReturnType<typeof useListRetrievalProfilesLazyQuery>;
7774
7873
  export type ListRetrievalProfilesSuspenseQueryHookResult = ReturnType<typeof useListRetrievalProfilesSuspenseQuery>;
7775
7874
  export type ListRetrievalProfilesQueryResult = Apollo.QueryResult<Types.ListRetrievalProfilesQuery, Types.ListRetrievalProfilesQueryVariables>;
7875
+ export declare const ListBotmanorRetrievalProfilesPageDocument: Apollo.DocumentNode;
7876
+ /**
7877
+ * __useListBotmanorRetrievalProfilesPageQuery__
7878
+ *
7879
+ * To run a query within a React component, call `useListBotmanorRetrievalProfilesPageQuery` and pass it any options that fit your needs.
7880
+ * When your component renders, `useListBotmanorRetrievalProfilesPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
7881
+ * you can use to render your UI.
7882
+ *
7883
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
7884
+ *
7885
+ * @example
7886
+ * const { data, loading, error } = useListBotmanorRetrievalProfilesPageQuery({
7887
+ * variables: {
7888
+ * filters: // value for 'filters'
7889
+ * pagination: // value for 'pagination'
7890
+ * },
7891
+ * });
7892
+ */
7893
+ export declare function useListBotmanorRetrievalProfilesPageQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListBotmanorRetrievalProfilesPageQuery, Types.ListBotmanorRetrievalProfilesPageQueryVariables>): ApolloReactHooks.useQuery.Result<Types.ListBotmanorRetrievalProfilesPageQuery, Types.ListBotmanorRetrievalProfilesPageQueryVariables, "empty" | "complete" | "streaming", Types.ListBotmanorRetrievalProfilesPageQueryVariables, undefined>;
7894
+ export declare function useListBotmanorRetrievalProfilesPageLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListBotmanorRetrievalProfilesPageQuery, Types.ListBotmanorRetrievalProfilesPageQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.ListBotmanorRetrievalProfilesPageQuery, Types.ListBotmanorRetrievalProfilesPageQueryVariables, "empty" | "complete" | "streaming", undefined>;
7895
+ export declare function useListBotmanorRetrievalProfilesPageSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListBotmanorRetrievalProfilesPageQuery, Types.ListBotmanorRetrievalProfilesPageQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListBotmanorRetrievalProfilesPageQuery, Types.ListBotmanorRetrievalProfilesPageQueryVariables>;
7896
+ export declare function useListBotmanorRetrievalProfilesPageSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListBotmanorRetrievalProfilesPageQuery, Types.ListBotmanorRetrievalProfilesPageQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListBotmanorRetrievalProfilesPageQuery | undefined, Types.ListBotmanorRetrievalProfilesPageQueryVariables>;
7897
+ export type ListBotmanorRetrievalProfilesPageQueryHookResult = ReturnType<typeof useListBotmanorRetrievalProfilesPageQuery>;
7898
+ export type ListBotmanorRetrievalProfilesPageLazyQueryHookResult = ReturnType<typeof useListBotmanorRetrievalProfilesPageLazyQuery>;
7899
+ export type ListBotmanorRetrievalProfilesPageSuspenseQueryHookResult = ReturnType<typeof useListBotmanorRetrievalProfilesPageSuspenseQuery>;
7900
+ export type ListBotmanorRetrievalProfilesPageQueryResult = Apollo.QueryResult<Types.ListBotmanorRetrievalProfilesPageQuery, Types.ListBotmanorRetrievalProfilesPageQueryVariables>;
7776
7901
  export declare const CreateRetrievalProfileDocument: Apollo.DocumentNode;
7777
7902
  export type CreateRetrievalProfileMutationFn = Apollo.MutationFunction<Types.CreateRetrievalProfileMutation, Types.CreateRetrievalProfileMutationVariables>;
7778
7903
  /**
@@ -8752,4 +8877,66 @@ export declare function useAgentExecutionUpdatedSubscription(baseOptions: Apollo
8752
8877
  })): ApolloReactHooks.useSubscription.Result<Types.AgentExecutionUpdatedSubscription>;
8753
8878
  export type AgentExecutionUpdatedSubscriptionHookResult = ReturnType<typeof useAgentExecutionUpdatedSubscription>;
8754
8879
  export type AgentExecutionUpdatedSubscriptionResult = Apollo.SubscriptionResult<Types.AgentExecutionUpdatedSubscription>;
8880
+ export declare const ListBotmanorAgentVersionsPageDocument: Apollo.DocumentNode;
8881
+ /**
8882
+ * __useListBotmanorAgentVersionsPageQuery__
8883
+ *
8884
+ * To run a query within a React component, call `useListBotmanorAgentVersionsPageQuery` and pass it any options that fit your needs.
8885
+ * When your component renders, `useListBotmanorAgentVersionsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
8886
+ * you can use to render your UI.
8887
+ *
8888
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
8889
+ *
8890
+ * @example
8891
+ * const { data, loading, error } = useListBotmanorAgentVersionsPageQuery({
8892
+ * variables: {
8893
+ * agentId: // value for 'agentId'
8894
+ * pagination: // value for 'pagination'
8895
+ * },
8896
+ * });
8897
+ */
8898
+ export declare function useListBotmanorAgentVersionsPageQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.ListBotmanorAgentVersionsPageQuery, Types.ListBotmanorAgentVersionsPageQueryVariables> & ({
8899
+ variables: Types.ListBotmanorAgentVersionsPageQueryVariables;
8900
+ skip?: boolean;
8901
+ } | {
8902
+ skip: boolean;
8903
+ })): ApolloReactHooks.useQuery.Result<Types.ListBotmanorAgentVersionsPageQuery, Types.ListBotmanorAgentVersionsPageQueryVariables, "empty" | "complete" | "streaming", Types.ListBotmanorAgentVersionsPageQueryVariables, undefined>;
8904
+ export declare function useListBotmanorAgentVersionsPageLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListBotmanorAgentVersionsPageQuery, Types.ListBotmanorAgentVersionsPageQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.ListBotmanorAgentVersionsPageQuery, Types.ListBotmanorAgentVersionsPageQueryVariables, "empty" | "complete" | "streaming", undefined>;
8905
+ export declare function useListBotmanorAgentVersionsPageSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListBotmanorAgentVersionsPageQuery, Types.ListBotmanorAgentVersionsPageQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListBotmanorAgentVersionsPageQuery, Types.ListBotmanorAgentVersionsPageQueryVariables>;
8906
+ export declare function useListBotmanorAgentVersionsPageSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListBotmanorAgentVersionsPageQuery, Types.ListBotmanorAgentVersionsPageQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListBotmanorAgentVersionsPageQuery | undefined, Types.ListBotmanorAgentVersionsPageQueryVariables>;
8907
+ export type ListBotmanorAgentVersionsPageQueryHookResult = ReturnType<typeof useListBotmanorAgentVersionsPageQuery>;
8908
+ export type ListBotmanorAgentVersionsPageLazyQueryHookResult = ReturnType<typeof useListBotmanorAgentVersionsPageLazyQuery>;
8909
+ export type ListBotmanorAgentVersionsPageSuspenseQueryHookResult = ReturnType<typeof useListBotmanorAgentVersionsPageSuspenseQuery>;
8910
+ export type ListBotmanorAgentVersionsPageQueryResult = Apollo.QueryResult<Types.ListBotmanorAgentVersionsPageQuery, Types.ListBotmanorAgentVersionsPageQueryVariables>;
8911
+ export declare const ListBotmanorAppVersionsPageDocument: Apollo.DocumentNode;
8912
+ /**
8913
+ * __useListBotmanorAppVersionsPageQuery__
8914
+ *
8915
+ * To run a query within a React component, call `useListBotmanorAppVersionsPageQuery` and pass it any options that fit your needs.
8916
+ * When your component renders, `useListBotmanorAppVersionsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
8917
+ * you can use to render your UI.
8918
+ *
8919
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
8920
+ *
8921
+ * @example
8922
+ * const { data, loading, error } = useListBotmanorAppVersionsPageQuery({
8923
+ * variables: {
8924
+ * botAppId: // value for 'botAppId'
8925
+ * pagination: // value for 'pagination'
8926
+ * },
8927
+ * });
8928
+ */
8929
+ export declare function useListBotmanorAppVersionsPageQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.ListBotmanorAppVersionsPageQuery, Types.ListBotmanorAppVersionsPageQueryVariables> & ({
8930
+ variables: Types.ListBotmanorAppVersionsPageQueryVariables;
8931
+ skip?: boolean;
8932
+ } | {
8933
+ skip: boolean;
8934
+ })): ApolloReactHooks.useQuery.Result<Types.ListBotmanorAppVersionsPageQuery, Types.ListBotmanorAppVersionsPageQueryVariables, "empty" | "complete" | "streaming", Types.ListBotmanorAppVersionsPageQueryVariables, undefined>;
8935
+ export declare function useListBotmanorAppVersionsPageLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListBotmanorAppVersionsPageQuery, Types.ListBotmanorAppVersionsPageQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.ListBotmanorAppVersionsPageQuery, Types.ListBotmanorAppVersionsPageQueryVariables, "empty" | "complete" | "streaming", undefined>;
8936
+ export declare function useListBotmanorAppVersionsPageSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListBotmanorAppVersionsPageQuery, Types.ListBotmanorAppVersionsPageQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListBotmanorAppVersionsPageQuery, Types.ListBotmanorAppVersionsPageQueryVariables>;
8937
+ export declare function useListBotmanorAppVersionsPageSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListBotmanorAppVersionsPageQuery, Types.ListBotmanorAppVersionsPageQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListBotmanorAppVersionsPageQuery | undefined, Types.ListBotmanorAppVersionsPageQueryVariables>;
8938
+ export type ListBotmanorAppVersionsPageQueryHookResult = ReturnType<typeof useListBotmanorAppVersionsPageQuery>;
8939
+ export type ListBotmanorAppVersionsPageLazyQueryHookResult = ReturnType<typeof useListBotmanorAppVersionsPageLazyQuery>;
8940
+ export type ListBotmanorAppVersionsPageSuspenseQueryHookResult = ReturnType<typeof useListBotmanorAppVersionsPageSuspenseQuery>;
8941
+ export type ListBotmanorAppVersionsPageQueryResult = Apollo.QueryResult<Types.ListBotmanorAppVersionsPageQuery, Types.ListBotmanorAppVersionsPageQueryVariables>;
8755
8942
  export {};