@burdenoff/microfe-botmanor 2026.1118.5 → 2026.1118.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 (46) hide show
  1. package/dist/botlit/components/AgentBindingsPanel.d.ts +4 -0
  2. package/dist/botlit/components/AgentBindingsPanel.js +305 -0
  3. package/dist/botlit/components/AgentBindingsPanel.js.map +1 -0
  4. package/dist/botlit/components/ChannelSetupPanels.d.ts +21 -0
  5. package/dist/botlit/components/ChannelSetupPanels.js +139 -0
  6. package/dist/botlit/components/ChannelSetupPanels.js.map +1 -0
  7. package/dist/botlit/hooks/index.d.ts +5 -1
  8. package/dist/botlit/hooks/index.js +14 -12
  9. package/dist/botlit/hooks/useAgentBindings.d.ts +58 -0
  10. package/dist/botlit/hooks/useAgentBindings.js +87 -0
  11. package/dist/botlit/hooks/useAgentBindings.js.map +1 -0
  12. package/dist/botlit/hooks/useChannelSetup.d.ts +96 -0
  13. package/dist/botlit/hooks/useChannelSetup.js +199 -0
  14. package/dist/botlit/hooks/useChannelSetup.js.map +1 -0
  15. package/dist/botlit/hooks/useChannels.d.ts +6 -0
  16. package/dist/botlit/hooks/useChannels.js +80 -58
  17. package/dist/botlit/hooks/useChannels.js.map +1 -1
  18. package/dist/botlit/hooks/useUserPlatformConnection.d.ts +1 -0
  19. package/dist/botlit/hooks/useUserPlatformConnection.js +1 -0
  20. package/dist/botlit/hooks/useUserPlatformConnection.js.map +1 -1
  21. package/dist/botlit/pages/AgentDetailPage.js +56 -55
  22. package/dist/botlit/pages/AgentDetailPage.js.map +1 -1
  23. package/dist/botlit/pages/BotChannelsTab.js +204 -186
  24. package/dist/botlit/pages/BotChannelsTab.js.map +1 -1
  25. package/dist/botlit/pages/ChannelDetailPage.js +658 -526
  26. package/dist/botlit/pages/ChannelDetailPage.js.map +1 -1
  27. package/dist/botlit/pages/ChannelsPage.js +2 -1
  28. package/dist/botlit/pages/ChannelsPage.js.map +1 -1
  29. package/dist/botlit/pages/PromptStudioPage.js +365 -175
  30. package/dist/botlit/pages/PromptStudioPage.js.map +1 -1
  31. package/dist/botlit/providers/BotlitProvider.js +39 -35
  32. package/dist/botlit/providers/BotlitProvider.js.map +1 -1
  33. package/dist/botlit/types/index.d.ts +2 -0
  34. package/dist/botlit/utils/channelConnectors.d.ts +16 -0
  35. package/dist/botlit/utils/channelConnectors.js +24 -0
  36. package/dist/botlit/utils/channelConnectors.js.map +1 -0
  37. package/dist/botlit/utils/promptVariables.d.ts +6 -0
  38. package/dist/botlit/utils/promptVariables.js +20 -0
  39. package/dist/botlit/utils/promptVariables.js.map +1 -0
  40. package/dist/generated/wspace-operations.d.ts +314 -0
  41. package/dist/generated/wspace-operations.js +189 -101
  42. package/dist/generated/wspace-operations.js.map +1 -1
  43. package/dist/generated/wspace-types.d.ts +139 -0
  44. package/dist/generated/wspace-types.js +3 -1
  45. package/dist/generated/wspace-types.js.map +1 -1
  46. package/package.json +1 -1
@@ -1906,6 +1906,18 @@ export type AgentAnalytics = {
1906
1906
  staleHeartbeatCount: Scalars['Int']['output'];
1907
1907
  total: Scalars['Int']['output'];
1908
1908
  };
1909
+ export type AgentBindings = {
1910
+ __typename?: 'AgentBindings';
1911
+ agentId: Scalars['ID']['output'];
1912
+ /**
1913
+ * The system prompt a run starts from: the rendered template, the agent's own
1914
+ * prompt and the skills section (workspace policies are applied on top at run time).
1915
+ */
1916
+ effectiveSystemPrompt: Scalars['String']['output'];
1917
+ promptTemplate?: Maybe<AgentPromptTemplateBinding>;
1918
+ retrievalProfile?: Maybe<AgentRetrievalProfileBinding>;
1919
+ skills: Array<AgentSkillBinding>;
1920
+ };
1909
1921
  /**
1910
1922
  * Short-lived signed token + its absolute expiry. Returned by
1911
1923
  * `mintAgentCapability`. The token is opaque to clients and is meant to be
@@ -2310,6 +2322,15 @@ export type AgentProbeResult = {
2310
2322
  /** Agent uptime in seconds from /health */
2311
2323
  uptime?: Maybe<Scalars['Float']['output']>;
2312
2324
  };
2325
+ export type AgentPromptTemplateBinding = {
2326
+ __typename?: 'AgentPromptTemplateBinding';
2327
+ name: Scalars['String']['output'];
2328
+ promptTemplateId: Scalars['ID']['output'];
2329
+ status: EntityStatus;
2330
+ /** Values the template is rendered with, keyed by variable name. */
2331
+ variables: Scalars['JSON']['output'];
2332
+ version: Scalars['String']['output'];
2333
+ };
2313
2334
  /** Generic proxied agent response used for AI/backend mediated requests. */
2314
2335
  export type AgentProxyResponse = {
2315
2336
  __typename?: 'AgentProxyResponse';
@@ -2319,6 +2340,16 @@ export type AgentProxyResponse = {
2319
2340
  status: Scalars['Int']['output'];
2320
2341
  text?: Maybe<Scalars['String']['output']>;
2321
2342
  };
2343
+ export type AgentRetrievalProfileBinding = {
2344
+ __typename?: 'AgentRetrievalProfileBinding';
2345
+ minRelevanceScore?: Maybe<Scalars['Float']['output']>;
2346
+ name: Scalars['String']['output'];
2347
+ noAnswerIfBelowThreshold: Scalars['Boolean']['output'];
2348
+ retrievalProfileId: Scalars['ID']['output'];
2349
+ status: EntityStatus;
2350
+ strategyMode: RetrievalMode;
2351
+ topK: Scalars['Int']['output'];
2352
+ };
2322
2353
  /** The decision on one agent tool call, and its delegated token when allowed. */
2323
2354
  export type AgentRunToken = {
2324
2355
  __typename?: 'AgentRunToken';
@@ -2357,6 +2388,14 @@ export type AgentSessionOrphan = {
2357
2388
  /** Number of windows / panes / tabs. */
2358
2389
  windows: Scalars['Int']['output'];
2359
2390
  };
2391
+ export type AgentSkillBinding = {
2392
+ __typename?: 'AgentSkillBinding';
2393
+ description?: Maybe<Scalars['String']['output']>;
2394
+ name: Scalars['String']['output'];
2395
+ position: Scalars['Int']['output'];
2396
+ skillId: Scalars['ID']['output'];
2397
+ status: EntityStatus;
2398
+ };
2360
2399
  export type AgentStats = {
2361
2400
  __typename?: 'AgentStats';
2362
2401
  agentId: Scalars['ID']['output'];
@@ -77777,6 +77816,11 @@ export type Mutation = {
77777
77816
  saveMyGgnomadAffiliatePayoutProfile: GgnomadAffiliatePayoutProfile;
77778
77817
  /** Upsert the calling user's active view + per-view overrides. */
77779
77818
  saveMyNavPreferences: NavPreferences;
77819
+ /**
77820
+ * Prompt Studio: save a draft as the template's next version, keeping the
77821
+ * replaced version in `versionHistory`.
77822
+ */
77823
+ savePromptTemplateVersion: PromptTemplate;
77780
77824
  /**
77781
77825
  * Save an AI-assistant sandbox artifact directly into Files without round-
77782
77826
  * tripping bytes through the browser. Calls `wspace-sandbox-svc` over the
@@ -77951,6 +77995,7 @@ export type Mutation = {
77951
77995
  * /api/agent/update/config.
77952
77996
  */
77953
77997
  setAgentAutoUpdate: AgentProxyResponse;
77998
+ setAgentBindings: AgentBindings;
77954
77999
  /**
77955
78000
  * F4 Wave C — narrow svc-side proxy for playground (GraphiQL) config writes.
77956
78001
  * PUTs `/api/profiles/<profile>/graphiql/config/<vibeId>` with
@@ -79052,6 +79097,8 @@ export type Mutation = {
79052
79097
  testLogStreamDestination: TestLogStreamDestinationResponse;
79053
79098
  testMCPConnection: Scalars['Boolean']['output'];
79054
79099
  testPipeline: PipelineExecution;
79100
+ /** Prompt Studio: run the template (or a draft of it) against a live model. */
79101
+ testPromptTemplate: PromptTemplateTestResult;
79055
79102
  /** Connection test button: validates the configured provider without persisting a secret. */
79056
79103
  testSecretsProviderConnection: TestSecretsProviderConnectionResponse;
79057
79104
  testTarget: TargetTestResult;
@@ -106389,6 +106436,14 @@ export type MutationSaveMyGgnomadAffiliatePayoutProfileArgs = {
106389
106436
  export type MutationSaveMyNavPreferencesArgs = {
106390
106437
  input: SaveNavPreferencesInput;
106391
106438
  };
106439
+ /**
106440
+ * Base Mutation type with placeholder field.
106441
+ * Extended by individual mutation files.
106442
+ */
106443
+ export type MutationSavePromptTemplateVersionArgs = {
106444
+ id: Scalars['ID']['input'];
106445
+ input: SavePromptTemplateVersionInput;
106446
+ };
106392
106447
  /**
106393
106448
  * Base Mutation type with placeholder field.
106394
106449
  * Extended by individual mutation files.
@@ -106787,6 +106842,14 @@ export type MutationSetAgentAutoUpdateArgs = {
106787
106842
  agentId: Scalars['ID']['input'];
106788
106843
  enabled: Scalars['Boolean']['input'];
106789
106844
  };
106845
+ /**
106846
+ * Base Mutation type with placeholder field.
106847
+ * Extended by individual mutation files.
106848
+ */
106849
+ export type MutationSetAgentBindingsArgs = {
106850
+ agentId: Scalars['ID']['input'];
106851
+ input: SetAgentBindingsInput;
106852
+ };
106790
106853
  /**
106791
106854
  * Base Mutation type with placeholder field.
106792
106855
  * Extended by individual mutation files.
@@ -109493,6 +109556,14 @@ export type MutationTestMcpConnectionArgs = {
109493
109556
  export type MutationTestPipelineArgs = {
109494
109557
  input: TestPipelineInput;
109495
109558
  };
109559
+ /**
109560
+ * Base Mutation type with placeholder field.
109561
+ * Extended by individual mutation files.
109562
+ */
109563
+ export type MutationTestPromptTemplateArgs = {
109564
+ id: Scalars['ID']['input'];
109565
+ input: TestPromptTemplateInput;
109566
+ };
109496
109567
  /**
109497
109568
  * Base Mutation type with placeholder field.
109498
109569
  * Extended by individual mutation files.
@@ -124381,6 +124452,17 @@ export type PromptResultConnection = {
124381
124452
  results: Array<PromptResult>;
124382
124453
  total: Scalars['Int']['output'];
124383
124454
  };
124455
+ /** A version of a prompt template saved over by Prompt Studio (BOFF-15360). */
124456
+ export type PromptStudioVersion = {
124457
+ __typename?: 'PromptStudioVersion';
124458
+ changelog?: Maybe<Scalars['String']['output']>;
124459
+ revision: Scalars['Int']['output'];
124460
+ savedAt: Scalars['DateTime']['output'];
124461
+ savedById: Scalars['ID']['output'];
124462
+ templateText: Scalars['String']['output'];
124463
+ variables: Scalars['JSON']['output'];
124464
+ version: Scalars['String']['output'];
124465
+ };
124384
124466
  /** Example prompt suggestion */
124385
124467
  export type PromptSuggestion = {
124386
124468
  __typename?: 'PromptSuggestion';
@@ -124416,6 +124498,8 @@ export type PromptTemplate = {
124416
124498
  updatedById: Scalars['ID']['output'];
124417
124499
  variables: Scalars['JSON']['output'];
124418
124500
  version: Scalars['String']['output'];
124501
+ /** Earlier versions replaced by `savePromptTemplateVersion`, newest first. */
124502
+ versionHistory: Array<PromptStudioVersion>;
124419
124503
  visibility: Visibility;
124420
124504
  workspaceId: Scalars['ID']['output'];
124421
124505
  };
@@ -124478,6 +124562,16 @@ export type PromptTemplateFilterInput = {
124478
124562
  visibility?: InputMaybe<Visibility>;
124479
124563
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
124480
124564
  };
124565
+ export type PromptTemplateTestResult = {
124566
+ __typename?: 'PromptTemplateTestResult';
124567
+ inputTokens?: Maybe<Scalars['Int']['output']>;
124568
+ latencyMs: Scalars['Int']['output'];
124569
+ model: Scalars['String']['output'];
124570
+ output: Scalars['String']['output'];
124571
+ outputTokens?: Maybe<Scalars['Int']['output']>;
124572
+ renderedPrompt: Scalars['String']['output'];
124573
+ tokensUsed: Scalars['Int']['output'];
124574
+ };
124481
124575
  /** One immutable revision of a template. */
124482
124576
  export type PromptTemplateVersion = {
124483
124577
  __typename?: 'PromptTemplateVersion';
@@ -124633,6 +124727,11 @@ export type PromptVariable = {
124633
124727
  required: Scalars['Boolean']['output'];
124634
124728
  type: Scalars['String']['output'];
124635
124729
  };
124730
+ export declare enum PromptVersionBump {
124731
+ Major = "MAJOR",
124732
+ Minor = "MINOR",
124733
+ Patch = "PATCH"
124734
+ }
124636
124735
  export type PropertyFilterInput = {
124637
124736
  operator: ComparisonOperator;
124638
124737
  property: Scalars['String']['input'];
@@ -128432,6 +128531,7 @@ export type Query = {
128432
128531
  getActiveSandboxes: Array<Sandbox>;
128433
128532
  /** Get activity logs with filtering and pagination */
128434
128533
  getActivities: Array<ActivityLog>;
128534
+ getAgentBindings: AgentBindings;
128435
128535
  getAgentStats?: Maybe<AgentStats>;
128436
128536
  /** Get logs for a task executed on an agent */
128437
128537
  getAgentTaskLogs?: Maybe<AgentTaskExecution>;
@@ -139349,6 +139449,13 @@ export type QueryGetActiveSandboxesArgs = {
139349
139449
  export type QueryGetActivitiesArgs = {
139350
139450
  filter?: InputMaybe<ActivityLogFilter>;
139351
139451
  };
139452
+ /**
139453
+ * Base Query type with placeholder field.
139454
+ * Extended by individual query files.
139455
+ */
139456
+ export type QueryGetAgentBindingsArgs = {
139457
+ agentId: Scalars['ID']['input'];
139458
+ };
139352
139459
  /**
139353
139460
  * Base Query type with placeholder field.
139354
139461
  * Extended by individual query files.
@@ -160018,6 +160125,14 @@ export type SaveNavPreferencesInput = {
160018
160125
  productSlug: Scalars['String']['input'];
160019
160126
  workspaceId: Scalars['String']['input'];
160020
160127
  };
160128
+ export type SavePromptTemplateVersionInput = {
160129
+ bump?: InputMaybe<PromptVersionBump>;
160130
+ changelog?: InputMaybe<Scalars['String']['input']>;
160131
+ templateText: Scalars['String']['input'];
160132
+ variables?: InputMaybe<Scalars['JSON']['input']>;
160133
+ /** Explicit MAJOR.MINOR.PATCH version; otherwise the current version is bumped. */
160134
+ version?: InputMaybe<Scalars['String']['input']>;
160135
+ };
160021
160136
  export type SaveSandboxArtifactInput = {
160022
160137
  /**
160023
160138
  * Override the filename the sandbox suggests. Useful when the caller already
@@ -163062,6 +163177,15 @@ export type SetActorRolesResult = {
163062
163177
  /** Distinct role IDs of the actor's active, unexpired, workspace-wide assignments after commit. */
163063
163178
  roleIds: Array<Scalars['ID']['output']>;
163064
163179
  };
163180
+ /** Omit a field to leave that binding unchanged; pass null to detach it. */
163181
+ export type SetAgentBindingsInput = {
163182
+ promptTemplateId?: InputMaybe<Scalars['ID']['input']>;
163183
+ /** Values for the template's declared variables, keyed by name. */
163184
+ promptVariables?: InputMaybe<Scalars['JSON']['input']>;
163185
+ retrievalProfileId?: InputMaybe<Scalars['ID']['input']>;
163186
+ /** The complete, ordered skill list. An empty list detaches every skill. */
163187
+ skillIds?: InputMaybe<Array<Scalars['ID']['input']>>;
163188
+ };
163065
163189
  /** Input for `setAgentVisibility`. */
163066
163190
  export type SetAgentVisibilityInput = {
163067
163191
  /** Agent to update. */
@@ -171318,6 +171442,21 @@ export type TestPipelineInput = {
171318
171442
  inputData: Scalars['JSON']['input'];
171319
171443
  pipelineId: Scalars['ID']['input'];
171320
171444
  };
171445
+ /** Prompt Studio run of a template against a live model (BOFF-15360). */
171446
+ export type TestPromptTemplateInput = {
171447
+ /** An active model registered in this workspace. */
171448
+ llmModelId: Scalars['ID']['input'];
171449
+ maxTokens?: InputMaybe<Scalars['Int']['input']>;
171450
+ temperature?: InputMaybe<Scalars['Float']['input']>;
171451
+ /** Draft text to run; the saved text when omitted. */
171452
+ templateText?: InputMaybe<Scalars['String']['input']>;
171453
+ /** The user message the rendered prompt answers. */
171454
+ userMessage: Scalars['String']['input'];
171455
+ /** Draft variable contract; the saved contract when omitted. */
171456
+ variableDefinitions?: InputMaybe<Scalars['JSON']['input']>;
171457
+ /** Values for the template variables, keyed by name. */
171458
+ variables?: InputMaybe<Scalars['JSON']['input']>;
171459
+ };
171321
171460
  export type TestSecretsProviderConnectionResponse = MutationResponse & {
171322
171461
  __typename?: 'TestSecretsProviderConnectionResponse';
171323
171462
  message: Scalars['String']['output'];
@@ -11,7 +11,9 @@ var e = /* @__PURE__ */ function(e) {
11
11
  return e.Forked = "FORKED", e.Linked = "LINKED", e;
12
12
  }({}), a = /* @__PURE__ */ function(e) {
13
13
  return e.A2AAgent = "A2A_AGENT", e.Agent = "AGENT", e.App = "APP", e.ChannelTemplate = "CHANNEL_TEMPLATE", e.Integration = "INTEGRATION", e.KbTemplate = "KB_TEMPLATE", e.KnowledgeBase = "KNOWLEDGE_BASE", e.McpPack = "MCP_PACK", e.PolicyBundle = "POLICY_BUNDLE", e.Prompt = "PROMPT", e.PromptTemplate = "PROMPT_TEMPLATE", e.RetrievalProfile = "RETRIEVAL_PROFILE", e.Skill = "SKILL", e.Template = "TEMPLATE", e.Tool = "TOOL", e.Workflow = "WORKFLOW", e;
14
+ }({}), o = /* @__PURE__ */ function(e) {
15
+ return e.Major = "MAJOR", e.Minor = "MINOR", e.Patch = "PATCH", e;
14
16
  }({});
15
- export { e as AiPredictionStatus, t as BotmanorHandoffFallbackBehavior, n as BotmanorHandoffStatus, r as ExecutionStatus, i as InstallMode, a as PackageKind };
17
+ export { e as AiPredictionStatus, t as BotmanorHandoffFallbackBehavior, n as BotmanorHandoffStatus, r as ExecutionStatus, i as InstallMode, a as PackageKind, o as PromptVersionBump };
16
18
 
17
19
  //# sourceMappingURL=wspace-types.js.map