@iblai/iblai-js 2.6.0 → 2.7.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/data-layer/playwright/claw-sandbox-helpers.d.ts +31 -0
- package/dist/data-layer/playwright/index.d.ts +2 -2
- package/dist/playwright/index.cjs +75 -1
- package/dist/playwright/index.cjs.map +1 -1
- package/dist/playwright/index.d.ts +33 -2
- package/dist/playwright/index.esm.js +71 -2
- package/dist/playwright/index.esm.js.map +1 -1
- package/dist/playwright/playwright/claw-sandbox-helpers.d.ts +31 -0
- package/dist/playwright/playwright/index.d.ts +2 -2
- package/dist/security/playwright/claw-sandbox-helpers.d.ts +31 -0
- package/dist/security/playwright/index.d.ts +2 -2
- package/dist/web-containers/playwright/claw-sandbox-helpers.d.ts +31 -0
- package/dist/web-containers/playwright/index.d.ts +2 -2
- package/dist/web-containers/source/index.esm.js +212 -56
- package/dist/web-containers/source/next/index.esm.js +114 -16
- package/dist/web-utils/playwright/claw-sandbox-helpers.d.ts +31 -0
- package/dist/web-utils/playwright/index.d.ts +2 -2
- package/package.json +4 -4
|
@@ -183,4 +183,35 @@ export declare function setupSandboxInstance(page: Page, instance: {
|
|
|
183
183
|
* then delete it from the table.
|
|
184
184
|
*/
|
|
185
185
|
export declare function teardownSandboxInstance(page: Page, instanceName: string): Promise<void>;
|
|
186
|
+
/** The three sandbox kinds selectable on the Sandbox tab. Mutually exclusive —
|
|
187
|
+
* enabling one turns off whichever kind was enabled before. */
|
|
188
|
+
export type SandboxKind = 'computational-runtime' | 'virtual-machine' | 'claw';
|
|
189
|
+
/**
|
|
190
|
+
* Verify the sandbox kind selector shows all three kind switches
|
|
191
|
+
* (Computing Runtime, Virtual Machine Shell, Claw).
|
|
192
|
+
*/
|
|
193
|
+
export declare function verifySandboxKindsVisible(page: Page): Promise<void>;
|
|
194
|
+
/** Read whether a sandbox kind switch is currently on. Waits for the switch to
|
|
195
|
+
* render first so a not-yet-mounted selector never reads as "off". */
|
|
196
|
+
export declare function isSandboxKindEnabled(page: Page, kind: SandboxKind): Promise<boolean>;
|
|
197
|
+
/**
|
|
198
|
+
* Toggle a sandbox kind switch. The kinds are mutually exclusive: enabling one
|
|
199
|
+
* turns off whichever kind was enabled before in the same request; disabling
|
|
200
|
+
* the active kind leaves none enabled. Deterministic completion signals: the
|
|
201
|
+
* switch's own aria-checked state flipping to the target value, then the save
|
|
202
|
+
* toast.
|
|
203
|
+
*/
|
|
204
|
+
export declare function toggleSandboxKind(page: Page, kind: SandboxKind): Promise<void>;
|
|
205
|
+
/**
|
|
206
|
+
* Verify the Claw instance section renders below the kind selector — either
|
|
207
|
+
* state qualifies: the not-connected instance table (its search box) or the
|
|
208
|
+
* connected-instance card. Only shown while the Claw kind is enabled.
|
|
209
|
+
*/
|
|
210
|
+
export declare function verifyClawSectionVisible(page: Page): Promise<void>;
|
|
211
|
+
/**
|
|
212
|
+
* Verify the Claw instance section is absent — the state while Claw is not the
|
|
213
|
+
* selected kind. Anchors on the kind selector first so "section missing" can
|
|
214
|
+
* never be confused with "tab not rendered yet".
|
|
215
|
+
*/
|
|
216
|
+
export declare function verifyClawSectionHidden(page: Page): Promise<void>;
|
|
186
217
|
export {};
|
|
@@ -18,8 +18,8 @@ export type { ReportDownloadOptions } from './report-download';
|
|
|
18
18
|
export { isMemoryTabVisible, switchToMemoryTab, verifyMemoryTabSettings, verifyMemoryTabMemoriesList, openAddMemoryDialog, toggleMemorySwitch, addMemory, deleteFirstMemory, deleteMemoryByContent, archiveFirstMemory, archiveMemoryByContent, getMemoryCount, verifyMemoryExists, verifyMemoryNotExists, } from './memory-test-helpers';
|
|
19
19
|
export { MEMORY_ADMIN_LABELS, memoryAdminGlobalSection, memoryAdminAgentSection, memoryAdminUserRow, memoryAdminAgentRow, memoryRowByContent, isTenantMemoryTabVisible, switchToTenantMemoryTab, switchToMemoryAdminSubTab, searchMemoryAdminUsers, openUserMemoriesPopup, closeUserMemoriesPopup, addUserGlobalMemory, editUserGlobalMemory, deleteUserGlobalMemory, toggleUserMemoryAdminSetting, filterAgentMemories, clearAgentMemoriesFilter, openAgentMemoriesPopup, closeAgentMemoriesPopup, addAgentMemoryFromPopup, } from './memory-admin-helpers';
|
|
20
20
|
export type { MemoryAdminSubTab, MemoryAdminSetting } from './memory-admin-helpers';
|
|
21
|
-
export { isSandboxTabVisible, switchToSandboxTab, verifyInstanceTableVisible, getInstanceRowCount, verifyInstanceTableEmpty, searchInstances, clearInstanceSearch, openInstanceActionsMenu, openNewInstanceDialog, createInstance, cancelNewInstanceDialog, openEditInstanceDialog, editInstance, deleteInstance, cancelDeleteInstance, connectToInstance, disconnectInstance, cancelDisconnectInstance, runInstanceChecks, runConnectedInstanceChecks, getInstanceHealthLabel, getInstanceStatusLabel, verifyConnectDisabledForUnhealthy, verifyConnectedInstanceCard, toggleAutoPush, pushConfiguration, openLLMProviderPicker, selectLLMModel, getCurrentModel, verifyAgentConfigPromptsVisible, openAgentPromptEditModal, editAgentPrompt, setupSandboxInstance, teardownSandboxInstance, } from './claw-sandbox-helpers';
|
|
22
|
-
export type { AgentPromptField } from './claw-sandbox-helpers';
|
|
21
|
+
export { isSandboxTabVisible, switchToSandboxTab, verifyInstanceTableVisible, getInstanceRowCount, verifyInstanceTableEmpty, searchInstances, clearInstanceSearch, openInstanceActionsMenu, openNewInstanceDialog, createInstance, cancelNewInstanceDialog, openEditInstanceDialog, editInstance, deleteInstance, cancelDeleteInstance, connectToInstance, disconnectInstance, cancelDisconnectInstance, runInstanceChecks, runConnectedInstanceChecks, getInstanceHealthLabel, getInstanceStatusLabel, verifyConnectDisabledForUnhealthy, verifyConnectedInstanceCard, toggleAutoPush, pushConfiguration, openLLMProviderPicker, selectLLMModel, getCurrentModel, verifyAgentConfigPromptsVisible, openAgentPromptEditModal, editAgentPrompt, setupSandboxInstance, teardownSandboxInstance, verifySandboxKindsVisible, isSandboxKindEnabled, toggleSandboxKind, verifyClawSectionVisible, verifyClawSectionHidden, } from './claw-sandbox-helpers';
|
|
22
|
+
export type { AgentPromptField, SandboxKind } from './claw-sandbox-helpers';
|
|
23
23
|
export { switchToSkillsTab, verifySkillsTabVisible, switchToAgentSkillsSubTab, switchToAvailableSkillsSubTab, goToSkillsListPage, verifySkillsEmptyState, verifyAgentSkillsEmptyState, getSkillRowCount, verifySkillVisible, addSkillToAgent, verifySkillAdded, removeSkillFromAgent, isSkillEnabled, enableSkill, disableSkill, toggleSkill, setCatalogSkillEnabled, openNewSkillDialog, createSkill, openSkillActionsMenu, openEditSkillDialog, editSkill, deleteSkill, cancelDeleteSkill, switchToSkillResourcesSubTab, addTextResource, uploadAssetResource, editTextResource, deleteResource, openSlashSkillPicker, selectSlashSkill, } from './agent-skills-helpers';
|
|
24
24
|
export type { SkillFormValues, TextResourceValues } from './agent-skills-helpers';
|
|
25
25
|
export { navigateToAuditLog, verifyAuditLogTableVisible, getAuditLogRowCount, verifyAuditLogEntryStructure, verifyAuditLogEmptyState, verifyAuditLogPermissionError, verifyAuditLogGenericError, verifyAuditLogLoading, waitForAuditLogDataLoaded, filterByAction, filterByActor, getAvailableActors, filterByDateRange, clearDateRangeFilter, getPaginationInfo, goToNextPage, goToPreviousPage, goToFirstPage, goToLastPage, goToPage, verifyCurrentPage, isOnLastPage, isOnFirstPage, navigateToAuditLogAndWaitForData, filterByActionAndVerify, filterByActorAndVerify, } from './audit-log-helpers';
|
|
@@ -183,4 +183,35 @@ export declare function setupSandboxInstance(page: Page, instance: {
|
|
|
183
183
|
* then delete it from the table.
|
|
184
184
|
*/
|
|
185
185
|
export declare function teardownSandboxInstance(page: Page, instanceName: string): Promise<void>;
|
|
186
|
+
/** The three sandbox kinds selectable on the Sandbox tab. Mutually exclusive —
|
|
187
|
+
* enabling one turns off whichever kind was enabled before. */
|
|
188
|
+
export type SandboxKind = 'computational-runtime' | 'virtual-machine' | 'claw';
|
|
189
|
+
/**
|
|
190
|
+
* Verify the sandbox kind selector shows all three kind switches
|
|
191
|
+
* (Computing Runtime, Virtual Machine Shell, Claw).
|
|
192
|
+
*/
|
|
193
|
+
export declare function verifySandboxKindsVisible(page: Page): Promise<void>;
|
|
194
|
+
/** Read whether a sandbox kind switch is currently on. Waits for the switch to
|
|
195
|
+
* render first so a not-yet-mounted selector never reads as "off". */
|
|
196
|
+
export declare function isSandboxKindEnabled(page: Page, kind: SandboxKind): Promise<boolean>;
|
|
197
|
+
/**
|
|
198
|
+
* Toggle a sandbox kind switch. The kinds are mutually exclusive: enabling one
|
|
199
|
+
* turns off whichever kind was enabled before in the same request; disabling
|
|
200
|
+
* the active kind leaves none enabled. Deterministic completion signals: the
|
|
201
|
+
* switch's own aria-checked state flipping to the target value, then the save
|
|
202
|
+
* toast.
|
|
203
|
+
*/
|
|
204
|
+
export declare function toggleSandboxKind(page: Page, kind: SandboxKind): Promise<void>;
|
|
205
|
+
/**
|
|
206
|
+
* Verify the Claw instance section renders below the kind selector — either
|
|
207
|
+
* state qualifies: the not-connected instance table (its search box) or the
|
|
208
|
+
* connected-instance card. Only shown while the Claw kind is enabled.
|
|
209
|
+
*/
|
|
210
|
+
export declare function verifyClawSectionVisible(page: Page): Promise<void>;
|
|
211
|
+
/**
|
|
212
|
+
* Verify the Claw instance section is absent — the state while Claw is not the
|
|
213
|
+
* selected kind. Anchors on the kind selector first so "section missing" can
|
|
214
|
+
* never be confused with "tab not rendered yet".
|
|
215
|
+
*/
|
|
216
|
+
export declare function verifyClawSectionHidden(page: Page): Promise<void>;
|
|
186
217
|
export {};
|
|
@@ -18,8 +18,8 @@ export type { ReportDownloadOptions } from './report-download';
|
|
|
18
18
|
export { isMemoryTabVisible, switchToMemoryTab, verifyMemoryTabSettings, verifyMemoryTabMemoriesList, openAddMemoryDialog, toggleMemorySwitch, addMemory, deleteFirstMemory, deleteMemoryByContent, archiveFirstMemory, archiveMemoryByContent, getMemoryCount, verifyMemoryExists, verifyMemoryNotExists, } from './memory-test-helpers';
|
|
19
19
|
export { MEMORY_ADMIN_LABELS, memoryAdminGlobalSection, memoryAdminAgentSection, memoryAdminUserRow, memoryAdminAgentRow, memoryRowByContent, isTenantMemoryTabVisible, switchToTenantMemoryTab, switchToMemoryAdminSubTab, searchMemoryAdminUsers, openUserMemoriesPopup, closeUserMemoriesPopup, addUserGlobalMemory, editUserGlobalMemory, deleteUserGlobalMemory, toggleUserMemoryAdminSetting, filterAgentMemories, clearAgentMemoriesFilter, openAgentMemoriesPopup, closeAgentMemoriesPopup, addAgentMemoryFromPopup, } from './memory-admin-helpers';
|
|
20
20
|
export type { MemoryAdminSubTab, MemoryAdminSetting } from './memory-admin-helpers';
|
|
21
|
-
export { isSandboxTabVisible, switchToSandboxTab, verifyInstanceTableVisible, getInstanceRowCount, verifyInstanceTableEmpty, searchInstances, clearInstanceSearch, openInstanceActionsMenu, openNewInstanceDialog, createInstance, cancelNewInstanceDialog, openEditInstanceDialog, editInstance, deleteInstance, cancelDeleteInstance, connectToInstance, disconnectInstance, cancelDisconnectInstance, runInstanceChecks, runConnectedInstanceChecks, getInstanceHealthLabel, getInstanceStatusLabel, verifyConnectDisabledForUnhealthy, verifyConnectedInstanceCard, toggleAutoPush, pushConfiguration, openLLMProviderPicker, selectLLMModel, getCurrentModel, verifyAgentConfigPromptsVisible, openAgentPromptEditModal, editAgentPrompt, setupSandboxInstance, teardownSandboxInstance, } from './claw-sandbox-helpers';
|
|
22
|
-
export type { AgentPromptField } from './claw-sandbox-helpers';
|
|
21
|
+
export { isSandboxTabVisible, switchToSandboxTab, verifyInstanceTableVisible, getInstanceRowCount, verifyInstanceTableEmpty, searchInstances, clearInstanceSearch, openInstanceActionsMenu, openNewInstanceDialog, createInstance, cancelNewInstanceDialog, openEditInstanceDialog, editInstance, deleteInstance, cancelDeleteInstance, connectToInstance, disconnectInstance, cancelDisconnectInstance, runInstanceChecks, runConnectedInstanceChecks, getInstanceHealthLabel, getInstanceStatusLabel, verifyConnectDisabledForUnhealthy, verifyConnectedInstanceCard, toggleAutoPush, pushConfiguration, openLLMProviderPicker, selectLLMModel, getCurrentModel, verifyAgentConfigPromptsVisible, openAgentPromptEditModal, editAgentPrompt, setupSandboxInstance, teardownSandboxInstance, verifySandboxKindsVisible, isSandboxKindEnabled, toggleSandboxKind, verifyClawSectionVisible, verifyClawSectionHidden, } from './claw-sandbox-helpers';
|
|
22
|
+
export type { AgentPromptField, SandboxKind } from './claw-sandbox-helpers';
|
|
23
23
|
export { switchToSkillsTab, verifySkillsTabVisible, switchToAgentSkillsSubTab, switchToAvailableSkillsSubTab, goToSkillsListPage, verifySkillsEmptyState, verifyAgentSkillsEmptyState, getSkillRowCount, verifySkillVisible, addSkillToAgent, verifySkillAdded, removeSkillFromAgent, isSkillEnabled, enableSkill, disableSkill, toggleSkill, setCatalogSkillEnabled, openNewSkillDialog, createSkill, openSkillActionsMenu, openEditSkillDialog, editSkill, deleteSkill, cancelDeleteSkill, switchToSkillResourcesSubTab, addTextResource, uploadAssetResource, editTextResource, deleteResource, openSlashSkillPicker, selectSlashSkill, } from './agent-skills-helpers';
|
|
24
24
|
export type { SkillFormValues, TextResourceValues } from './agent-skills-helpers';
|
|
25
25
|
export { navigateToAuditLog, verifyAuditLogTableVisible, getAuditLogRowCount, verifyAuditLogEntryStructure, verifyAuditLogEmptyState, verifyAuditLogPermissionError, verifyAuditLogGenericError, verifyAuditLogLoading, waitForAuditLogDataLoaded, filterByAction, filterByActor, getAvailableActors, filterByDateRange, clearDateRangeFilter, getPaginationInfo, goToNextPage, goToPreviousPage, goToFirstPage, goToLastPage, goToPage, verifyCurrentPage, isOnLastPage, isOnFirstPage, navigateToAuditLogAndWaitForData, filterByActionAndVerify, filterByActorAndVerify, } from './audit-log-helpers';
|
|
@@ -183,4 +183,35 @@ export declare function setupSandboxInstance(page: Page, instance: {
|
|
|
183
183
|
* then delete it from the table.
|
|
184
184
|
*/
|
|
185
185
|
export declare function teardownSandboxInstance(page: Page, instanceName: string): Promise<void>;
|
|
186
|
+
/** The three sandbox kinds selectable on the Sandbox tab. Mutually exclusive —
|
|
187
|
+
* enabling one turns off whichever kind was enabled before. */
|
|
188
|
+
export type SandboxKind = 'computational-runtime' | 'virtual-machine' | 'claw';
|
|
189
|
+
/**
|
|
190
|
+
* Verify the sandbox kind selector shows all three kind switches
|
|
191
|
+
* (Computing Runtime, Virtual Machine Shell, Claw).
|
|
192
|
+
*/
|
|
193
|
+
export declare function verifySandboxKindsVisible(page: Page): Promise<void>;
|
|
194
|
+
/** Read whether a sandbox kind switch is currently on. Waits for the switch to
|
|
195
|
+
* render first so a not-yet-mounted selector never reads as "off". */
|
|
196
|
+
export declare function isSandboxKindEnabled(page: Page, kind: SandboxKind): Promise<boolean>;
|
|
197
|
+
/**
|
|
198
|
+
* Toggle a sandbox kind switch. The kinds are mutually exclusive: enabling one
|
|
199
|
+
* turns off whichever kind was enabled before in the same request; disabling
|
|
200
|
+
* the active kind leaves none enabled. Deterministic completion signals: the
|
|
201
|
+
* switch's own aria-checked state flipping to the target value, then the save
|
|
202
|
+
* toast.
|
|
203
|
+
*/
|
|
204
|
+
export declare function toggleSandboxKind(page: Page, kind: SandboxKind): Promise<void>;
|
|
205
|
+
/**
|
|
206
|
+
* Verify the Claw instance section renders below the kind selector — either
|
|
207
|
+
* state qualifies: the not-connected instance table (its search box) or the
|
|
208
|
+
* connected-instance card. Only shown while the Claw kind is enabled.
|
|
209
|
+
*/
|
|
210
|
+
export declare function verifyClawSectionVisible(page: Page): Promise<void>;
|
|
211
|
+
/**
|
|
212
|
+
* Verify the Claw instance section is absent — the state while Claw is not the
|
|
213
|
+
* selected kind. Anchors on the kind selector first so "section missing" can
|
|
214
|
+
* never be confused with "tab not rendered yet".
|
|
215
|
+
*/
|
|
216
|
+
export declare function verifyClawSectionHidden(page: Page): Promise<void>;
|
|
186
217
|
export {};
|
|
@@ -18,8 +18,8 @@ export type { ReportDownloadOptions } from './report-download';
|
|
|
18
18
|
export { isMemoryTabVisible, switchToMemoryTab, verifyMemoryTabSettings, verifyMemoryTabMemoriesList, openAddMemoryDialog, toggleMemorySwitch, addMemory, deleteFirstMemory, deleteMemoryByContent, archiveFirstMemory, archiveMemoryByContent, getMemoryCount, verifyMemoryExists, verifyMemoryNotExists, } from './memory-test-helpers';
|
|
19
19
|
export { MEMORY_ADMIN_LABELS, memoryAdminGlobalSection, memoryAdminAgentSection, memoryAdminUserRow, memoryAdminAgentRow, memoryRowByContent, isTenantMemoryTabVisible, switchToTenantMemoryTab, switchToMemoryAdminSubTab, searchMemoryAdminUsers, openUserMemoriesPopup, closeUserMemoriesPopup, addUserGlobalMemory, editUserGlobalMemory, deleteUserGlobalMemory, toggleUserMemoryAdminSetting, filterAgentMemories, clearAgentMemoriesFilter, openAgentMemoriesPopup, closeAgentMemoriesPopup, addAgentMemoryFromPopup, } from './memory-admin-helpers';
|
|
20
20
|
export type { MemoryAdminSubTab, MemoryAdminSetting } from './memory-admin-helpers';
|
|
21
|
-
export { isSandboxTabVisible, switchToSandboxTab, verifyInstanceTableVisible, getInstanceRowCount, verifyInstanceTableEmpty, searchInstances, clearInstanceSearch, openInstanceActionsMenu, openNewInstanceDialog, createInstance, cancelNewInstanceDialog, openEditInstanceDialog, editInstance, deleteInstance, cancelDeleteInstance, connectToInstance, disconnectInstance, cancelDisconnectInstance, runInstanceChecks, runConnectedInstanceChecks, getInstanceHealthLabel, getInstanceStatusLabel, verifyConnectDisabledForUnhealthy, verifyConnectedInstanceCard, toggleAutoPush, pushConfiguration, openLLMProviderPicker, selectLLMModel, getCurrentModel, verifyAgentConfigPromptsVisible, openAgentPromptEditModal, editAgentPrompt, setupSandboxInstance, teardownSandboxInstance, } from './claw-sandbox-helpers';
|
|
22
|
-
export type { AgentPromptField } from './claw-sandbox-helpers';
|
|
21
|
+
export { isSandboxTabVisible, switchToSandboxTab, verifyInstanceTableVisible, getInstanceRowCount, verifyInstanceTableEmpty, searchInstances, clearInstanceSearch, openInstanceActionsMenu, openNewInstanceDialog, createInstance, cancelNewInstanceDialog, openEditInstanceDialog, editInstance, deleteInstance, cancelDeleteInstance, connectToInstance, disconnectInstance, cancelDisconnectInstance, runInstanceChecks, runConnectedInstanceChecks, getInstanceHealthLabel, getInstanceStatusLabel, verifyConnectDisabledForUnhealthy, verifyConnectedInstanceCard, toggleAutoPush, pushConfiguration, openLLMProviderPicker, selectLLMModel, getCurrentModel, verifyAgentConfigPromptsVisible, openAgentPromptEditModal, editAgentPrompt, setupSandboxInstance, teardownSandboxInstance, verifySandboxKindsVisible, isSandboxKindEnabled, toggleSandboxKind, verifyClawSectionVisible, verifyClawSectionHidden, } from './claw-sandbox-helpers';
|
|
22
|
+
export type { AgentPromptField, SandboxKind } from './claw-sandbox-helpers';
|
|
23
23
|
export { switchToSkillsTab, verifySkillsTabVisible, switchToAgentSkillsSubTab, switchToAvailableSkillsSubTab, goToSkillsListPage, verifySkillsEmptyState, verifyAgentSkillsEmptyState, getSkillRowCount, verifySkillVisible, addSkillToAgent, verifySkillAdded, removeSkillFromAgent, isSkillEnabled, enableSkill, disableSkill, toggleSkill, setCatalogSkillEnabled, openNewSkillDialog, createSkill, openSkillActionsMenu, openEditSkillDialog, editSkill, deleteSkill, cancelDeleteSkill, switchToSkillResourcesSubTab, addTextResource, uploadAssetResource, editTextResource, deleteResource, openSlashSkillPicker, selectSlashSkill, } from './agent-skills-helpers';
|
|
24
24
|
export type { SkillFormValues, TextResourceValues } from './agent-skills-helpers';
|
|
25
25
|
export { navigateToAuditLog, verifyAuditLogTableVisible, getAuditLogRowCount, verifyAuditLogEntryStructure, verifyAuditLogEmptyState, verifyAuditLogPermissionError, verifyAuditLogGenericError, verifyAuditLogLoading, waitForAuditLogDataLoaded, filterByAction, filterByActor, getAvailableActors, filterByDateRange, clearDateRangeFilter, getPaginationInfo, goToNextPage, goToPreviousPage, goToFirstPage, goToLastPage, goToPage, verifyCurrentPage, isOnLastPage, isOnFirstPage, navigateToAuditLogAndWaitForData, filterByActionAndVerify, filterByActorAndVerify, } from './audit-log-helpers';
|