@arbidocs/blocks 0.4.128 → 0.4.129
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/README.md +21 -7
- package/dist/{StreamedArtifactEditor-EEYAXJ4H.cjs → StreamedArtifactEditor-TQAND4H5.cjs} +6 -5
- package/dist/StreamedArtifactEditor-TQAND4H5.cjs.map +1 -0
- package/dist/{StreamedArtifactEditor-TDATDYD2.js → StreamedArtifactEditor-XQNANTWM.js} +4 -3
- package/dist/StreamedArtifactEditor-XQNANTWM.js.map +1 -0
- package/dist/agents/index.cjs +303 -303
- package/dist/agents/index.js +11 -11
- package/dist/artifacts/ArtifactCodeView.d.ts +6 -0
- package/dist/artifacts/ArtifactPreview.d.ts +22 -0
- package/dist/artifacts/index.cjs +50 -21
- package/dist/artifacts/index.d.ts +3 -0
- package/dist/artifacts/index.js +2 -1
- package/dist/artifacts/sandbox-policy.d.ts +34 -0
- package/dist/artifacts/sandboxDocument.d.ts +7 -0
- package/dist/calendar/index.cjs +156 -243
- package/dist/calendar/index.cjs.map +1 -1
- package/dist/calendar/index.js +8 -151
- package/dist/calendar/index.js.map +1 -1
- package/dist/calls/index.cjs +1 -1
- package/dist/calls/index.js +1 -1
- package/dist/chat/index.cjs +135 -135
- package/dist/chat/index.js +4 -4
- package/dist/{chunk-7HAM7Y5U.js → chunk-2DFDFOM7.js} +3 -3
- package/dist/{chunk-7HAM7Y5U.js.map → chunk-2DFDFOM7.js.map} +1 -1
- package/dist/{chunk-54ANPPMV.js → chunk-2PNNCEPH.js} +4 -4
- package/dist/{chunk-54ANPPMV.js.map → chunk-2PNNCEPH.js.map} +1 -1
- package/dist/{chunk-INW76PEL.cjs → chunk-2YV7FBLO.cjs} +175 -2
- package/dist/chunk-2YV7FBLO.cjs.map +1 -0
- package/dist/{chunk-P5ST47VY.js → chunk-5Y7JRY7Y.js} +3 -3
- package/dist/{chunk-P5ST47VY.js.map → chunk-5Y7JRY7Y.js.map} +1 -1
- package/dist/{chunk-KELGOCJA.js → chunk-65S53MZK.js} +174 -5
- package/dist/chunk-65S53MZK.js.map +1 -0
- package/dist/{chunk-HM23LXUP.cjs → chunk-6AALMYPS.cjs} +3 -3
- package/dist/{chunk-HM23LXUP.cjs.map → chunk-6AALMYPS.cjs.map} +1 -1
- package/dist/{chunk-7BJRLP3U.js → chunk-6BTCDKCK.js} +3 -3
- package/dist/{chunk-7BJRLP3U.js.map → chunk-6BTCDKCK.js.map} +1 -1
- package/dist/{chunk-FSBY2S4V.cjs → chunk-7423V6RM.cjs} +4 -4
- package/dist/{chunk-FSBY2S4V.cjs.map → chunk-7423V6RM.cjs.map} +1 -1
- package/dist/{chunk-NZUQFF35.cjs → chunk-DZYAAL4H.cjs} +5 -5
- package/dist/{chunk-NZUQFF35.cjs.map → chunk-DZYAAL4H.cjs.map} +1 -1
- package/dist/{chunk-VW2C2AZL.js → chunk-ENDP7JER.js} +3 -3
- package/dist/{chunk-VW2C2AZL.js.map → chunk-ENDP7JER.js.map} +1 -1
- package/dist/{chunk-ZCHSJUCI.js → chunk-H2KQ6OSU.js} +3 -3
- package/dist/{chunk-ZCHSJUCI.js.map → chunk-H2KQ6OSU.js.map} +1 -1
- package/dist/{chunk-KLOSOT26.js → chunk-HSFLEVZY.js} +10 -10
- package/dist/{chunk-KLOSOT26.js.map → chunk-HSFLEVZY.js.map} +1 -1
- package/dist/{chunk-W27VK32R.cjs → chunk-JLTXVW25.cjs} +78 -78
- package/dist/{chunk-W27VK32R.cjs.map → chunk-JLTXVW25.cjs.map} +1 -1
- package/dist/{chunk-D4YR56FV.cjs → chunk-KYDRUFWT.cjs} +5 -5
- package/dist/{chunk-D4YR56FV.cjs.map → chunk-KYDRUFWT.cjs.map} +1 -1
- package/dist/chunk-NS4JD2VR.js +22 -0
- package/dist/chunk-NS4JD2VR.js.map +1 -0
- package/dist/{chunk-ZV3BKLFY.cjs → chunk-NYHGG2IA.cjs} +3 -3
- package/dist/{chunk-ZV3BKLFY.cjs.map → chunk-NYHGG2IA.cjs.map} +1 -1
- package/dist/{chunk-WV4IDVDQ.cjs → chunk-PJJY6CYL.cjs} +11 -11
- package/dist/{chunk-WV4IDVDQ.cjs.map → chunk-PJJY6CYL.cjs.map} +1 -1
- package/dist/{chunk-CXLVI3SB.js → chunk-PUCY3UXN.js} +3 -3
- package/dist/{chunk-CXLVI3SB.js.map → chunk-PUCY3UXN.js.map} +1 -1
- package/dist/{chunk-LC2KJSUS.cjs → chunk-SARREDFP.cjs} +46 -46
- package/dist/{chunk-LC2KJSUS.cjs.map → chunk-SARREDFP.cjs.map} +1 -1
- package/dist/chunk-TGJNPKST.js +153 -0
- package/dist/chunk-TGJNPKST.js.map +1 -0
- package/dist/chunk-TGWTLNXW.cjs +177 -0
- package/dist/chunk-TGWTLNXW.cjs.map +1 -0
- package/dist/chunk-VG24E4JJ.cjs +26 -0
- package/dist/chunk-VG24E4JJ.cjs.map +1 -0
- package/dist/collaboration/index.cjs +9 -9
- package/dist/collaboration/index.js +1 -1
- package/dist/components/DroppableContainer.d.ts +6 -0
- package/dist/components/GridRowNavigator.d.ts +29 -0
- package/dist/components/LoadingIndicator.d.ts +21 -0
- package/dist/components/RowNavigatorControls.d.ts +29 -0
- package/dist/components/SharedCell.d.ts +27 -0
- package/dist/connect/index.cjs +45 -45
- package/dist/connect/index.js +12 -12
- package/dist/document-tools/index.cjs +1 -1
- package/dist/document-tools/index.js +1 -1
- package/dist/facts/index.cjs +6 -24
- package/dist/facts/index.cjs.map +1 -1
- package/dist/facts/index.d.ts +0 -1
- package/dist/facts/index.js +7 -23
- package/dist/facts/index.js.map +1 -1
- package/dist/files/index.cjs +1 -1
- package/dist/files/index.js +1 -1
- package/dist/home/index.cjs +17 -17
- package/dist/home/index.js +3 -3
- package/dist/index.cjs +681 -499
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +199 -22
- package/dist/index.js.map +1 -1
- package/dist/sandboxDocument-JLEETIWW.js +71 -0
- package/dist/sandboxDocument-JLEETIWW.js.map +1 -0
- package/dist/sandboxDocument-WQUNODSC.cjs +76 -0
- package/dist/sandboxDocument-WQUNODSC.cjs.map +1 -0
- package/dist/settings/DraggableHeader.d.ts +10 -0
- package/dist/settings/FilterChip.d.ts +15 -0
- package/dist/settings/MessageJsonTree.d.ts +7 -0
- package/dist/settings/index.cjs +259 -16
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.d.ts +3 -0
- package/dist/settings/index.js +250 -10
- package/dist/settings/index.js.map +1 -1
- package/dist/settings/message-schema-hints.d.ts +19 -0
- package/dist/shell/index.cjs +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +6 -6
- package/dist/studio/index.js +5 -5
- package/dist/workflow-canvas/index.cjs +62 -62
- package/dist/workflow-canvas/index.js +11 -11
- package/dist/workspaces/index.cjs +39 -0
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.d.ts +1 -0
- package/dist/workspaces/index.js +36 -1
- package/dist/workspaces/index.js.map +1 -1
- package/dist/workspaces/workspace-type.d.ts +29 -0
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -4
- package/dist/StreamedArtifactEditor-EEYAXJ4H.cjs.map +0 -1
- package/dist/StreamedArtifactEditor-TDATDYD2.js.map +0 -1
- package/dist/chunk-INW76PEL.cjs.map +0 -1
- package/dist/chunk-KELGOCJA.js.map +0 -1
- package/dist/facts/timezone.d.ts +0 -4
package/dist/agents/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_THREAD_LAUNCHER_LABELS, DEFAULT_THREAD_STATE_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DEFAULT_WORKFLOW_RUN_STATUS_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadLauncher, ThreadNotifyDialog, ThreadStatusLine, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowRunStatus, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isoToLocalInput, linkedRunsFromActivity, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, skillSlug, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowFromSkillMarkdown, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowTriggerType, workflowWhen } from '../chunk-
|
|
3
|
-
import '../chunk-P5ST47VY.js';
|
|
4
|
-
import '../chunk-4XJZ6AAY.js';
|
|
5
|
-
import '../chunk-P6GHJSLR.js';
|
|
6
|
-
export { ActionStepBody, ApprovalEvidence, AssigneeLine, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, SchemaForm, SendBackControl, TaskActivityTimeline, WorkflowRunner, activeStepId, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, isIncompleteSignal, layoutFromPlanSteps, stepWindow, taskActivityHeadline, toPlanAssignee, toPlanDocumentRef, toPlanSteps, useWorkflowView } from '../chunk-54ANPPMV.js';
|
|
7
|
-
import '../chunk-XD2M6LIG.js';
|
|
8
|
-
import '../chunk-6S5FLMWG.js';
|
|
2
|
+
export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_THREAD_LAUNCHER_LABELS, DEFAULT_THREAD_STATE_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DEFAULT_WORKFLOW_RUN_STATUS_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadLauncher, ThreadNotifyDialog, ThreadStatusLine, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowRunStatus, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isoToLocalInput, linkedRunsFromActivity, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, skillSlug, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowFromSkillMarkdown, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowTriggerType, workflowWhen } from '../chunk-HSFLEVZY.js';
|
|
9
3
|
import '../chunk-RFXJYIDV.js';
|
|
4
|
+
import '../chunk-4XJZ6AAY.js';
|
|
10
5
|
import '../chunk-5LXQPP2K.js';
|
|
11
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-P6GHJSLR.js';
|
|
7
|
+
export { ActionStepBody, ApprovalEvidence, AssigneeLine, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, SchemaForm, SendBackControl, TaskActivityTimeline, WorkflowRunner, activeStepId, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, isIncompleteSignal, layoutFromPlanSteps, stepWindow, taskActivityHeadline, toPlanAssignee, toPlanDocumentRef, toPlanSteps, useWorkflowView } from '../chunk-2PNNCEPH.js';
|
|
12
8
|
import '../chunk-EVUEIBNU.js';
|
|
9
|
+
import '../chunk-6S5FLMWG.js';
|
|
13
10
|
import '../chunk-NUNKSZKU.js';
|
|
14
11
|
import '../chunk-YU2KUMGE.js';
|
|
15
12
|
import '../chunk-N5YEF3LC.js';
|
|
16
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-5Y7JRY7Y.js';
|
|
14
|
+
import '../chunk-S7PSMMRG.js';
|
|
15
|
+
import '../chunk-XD2M6LIG.js';
|
|
17
16
|
import '../chunk-TX2ZICS7.js';
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
import '../chunk-4WWM3GQ5.js';
|
|
18
|
+
export { DEFAULT_ASSIGNEE_WORDING, DEFAULT_STEP_DOCUMENT_LABELS, DEFAULT_STEP_KIND_LABELS, DEFAULT_STEP_RECORD_LABELS, EMPTY_WORKFLOW_SCOPE, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STEP_KIND_ICONS, StepDocumentButton, StepDocumentCards, StepRecord, WORKFLOW_STEP_KINDS, assigneeName, buildLaunch, canAssign, composeStepPrompt, composeWorkflowPrompt, defaultInputs, dependsOn, fieldToFrontmatter, fillRunText, fillStepInputs, initialRunInputs, inputsFromContext, isEmptyWorkflowScope, isPersonAction, isPersonStep, isRunFinished, isSteppedWorkflow, isWorkflowScope, nextAction, orderSteps, promptFieldName, reviewInstructions, runFields, runFieldsOf, runThreadTitle, sendBackTargets, skillToWorkflow, splitDocRef, stepConfigProblems, stepDependencies, stepDocuments, stepFields, stepKindOf, stepLevels, stepPhase, stepStatesFromActivity, upstreamSteps, validateInputs, validateStep, validateWorkflowGraph, workflowAccepts, workflowFromFrontmatter, workflowSteps, workflowsAccepting, workflowsForHost } from '../chunk-2DFDFOM7.js';
|
|
20
19
|
import '../chunk-AUS3KBHJ.js';
|
|
20
|
+
import '../chunk-AA3PT6KR.js';
|
|
21
21
|
import '../chunk-SLSBJRWW.js';
|
|
22
22
|
import '../chunk-NPLYHR2E.js';
|
|
23
23
|
import '../chunk-7F6CBP3Z.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface ArtifactCodeViewProps {
|
|
2
|
+
source: string;
|
|
3
|
+
fileName?: string;
|
|
4
|
+
}
|
|
5
|
+
/** The source of a live (html/react) artifact, shown for copying. Changes are made by asking the assistant. */
|
|
6
|
+
export declare function ArtifactCodeView({ source, fileName }: ArtifactCodeViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ArtifactPreviewKind } from '@arbidocs/react/artifacts';
|
|
2
|
+
import { type ArtifactRuntime } from './sandbox-policy';
|
|
3
|
+
/** Where the host serves the generated sandbox runtime (`react-runtime.js`, `tailwind.js`). */
|
|
4
|
+
export declare const DEFAULT_ARTIFACT_RUNTIME_URL = "/artifact-runtime/";
|
|
5
|
+
/**
|
|
6
|
+
* Fetches the generated sandbox runtime once per URL; it is inlined into each preview. The host
|
|
7
|
+
* builds and serves the two files (ARBI: scripts/build-artifact-runtime.mjs → public/artifact-runtime).
|
|
8
|
+
*/
|
|
9
|
+
export declare function loadArtifactRuntime(runtimeUrl?: string): Promise<ArtifactRuntime>;
|
|
10
|
+
export interface ArtifactPreviewProps {
|
|
11
|
+
kind: ArtifactPreviewKind;
|
|
12
|
+
source: string;
|
|
13
|
+
/** Content is still being generated; the preview waits for the finished artifact. */
|
|
14
|
+
isStreaming?: boolean;
|
|
15
|
+
/** Folder serving the sandbox runtime files (default {@link DEFAULT_ARTIFACT_RUNTIME_URL}). */
|
|
16
|
+
runtimeUrl?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Renders an LLM-written html/react artifact in a script-only sandboxed iframe (no same-origin, no
|
|
20
|
+
* network; see `sandboxDocument`). Failures show one calm message; details go to the console.
|
|
21
|
+
*/
|
|
22
|
+
export declare function ArtifactPreview({ kind, source, isStreaming, runtimeUrl, }: ArtifactPreviewProps): import("react").JSX.Element;
|
package/dist/artifacts/index.cjs
CHANGED
|
@@ -1,92 +1,121 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunk2YV7FBLO_cjs = require('../chunk-2YV7FBLO.cjs');
|
|
5
|
+
var chunkVG24E4JJ_cjs = require('../chunk-VG24E4JJ.cjs');
|
|
5
6
|
var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
|
|
6
7
|
require('../chunk-MHVNT4J3.cjs');
|
|
7
8
|
require('../chunk-DES3K4SD.cjs');
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
12
|
+
Object.defineProperty(exports, "ArtifactCodeView", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunk2YV7FBLO_cjs.ArtifactCodeView; }
|
|
15
|
+
});
|
|
11
16
|
Object.defineProperty(exports, "ArtifactCompareBar", {
|
|
12
17
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk2YV7FBLO_cjs.ArtifactCompareBar; }
|
|
14
19
|
});
|
|
15
20
|
Object.defineProperty(exports, "ArtifactEditor", {
|
|
16
21
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk2YV7FBLO_cjs.ArtifactEditor; }
|
|
18
23
|
});
|
|
19
24
|
Object.defineProperty(exports, "ArtifactEditorBody", {
|
|
20
25
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk2YV7FBLO_cjs.ArtifactEditorBody; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "ArtifactPreview", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunk2YV7FBLO_cjs.ArtifactPreview; }
|
|
22
31
|
});
|
|
23
32
|
Object.defineProperty(exports, "ArtifactRedlineView", {
|
|
24
33
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk2YV7FBLO_cjs.ArtifactRedlineView; }
|
|
26
35
|
});
|
|
27
36
|
Object.defineProperty(exports, "ArtifactToolbar", {
|
|
28
37
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunk2YV7FBLO_cjs.ArtifactToolbar; }
|
|
30
39
|
});
|
|
31
40
|
Object.defineProperty(exports, "ArtifactVersionBar", {
|
|
32
41
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunk2YV7FBLO_cjs.ArtifactVersionBar; }
|
|
34
43
|
});
|
|
35
44
|
Object.defineProperty(exports, "DEFAULT_ARTIFACT_COMPARE_BAR_LABELS", {
|
|
36
45
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunk2YV7FBLO_cjs.DEFAULT_ARTIFACT_COMPARE_BAR_LABELS; }
|
|
38
47
|
});
|
|
39
48
|
Object.defineProperty(exports, "DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS", {
|
|
40
49
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunk2YV7FBLO_cjs.DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "DEFAULT_ARTIFACT_RUNTIME_URL", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunk2YV7FBLO_cjs.DEFAULT_ARTIFACT_RUNTIME_URL; }
|
|
42
55
|
});
|
|
43
56
|
Object.defineProperty(exports, "DEFAULT_ARTIFACT_TOOLBAR_LABELS", {
|
|
44
57
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunk2YV7FBLO_cjs.DEFAULT_ARTIFACT_TOOLBAR_LABELS; }
|
|
46
59
|
});
|
|
47
60
|
Object.defineProperty(exports, "DEFAULT_ARTIFACT_VERSION_BAR_LABELS", {
|
|
48
61
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunk2YV7FBLO_cjs.DEFAULT_ARTIFACT_VERSION_BAR_LABELS; }
|
|
50
63
|
});
|
|
51
64
|
Object.defineProperty(exports, "DEFAULT_REDLINE_LABELS", {
|
|
52
65
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunk2YV7FBLO_cjs.DEFAULT_REDLINE_LABELS; }
|
|
54
67
|
});
|
|
55
68
|
Object.defineProperty(exports, "DEFAULT_VERSION_TIMELINE_LABELS", {
|
|
56
69
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunk2YV7FBLO_cjs.DEFAULT_VERSION_TIMELINE_LABELS; }
|
|
58
71
|
});
|
|
59
72
|
Object.defineProperty(exports, "RedlineComputing", {
|
|
60
73
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunk2YV7FBLO_cjs.RedlineComputing; }
|
|
62
75
|
});
|
|
63
76
|
Object.defineProperty(exports, "RedlineDocument", {
|
|
64
77
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunk2YV7FBLO_cjs.RedlineDocument; }
|
|
66
79
|
});
|
|
67
80
|
Object.defineProperty(exports, "RedlineFrame", {
|
|
68
81
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunk2YV7FBLO_cjs.RedlineFrame; }
|
|
70
83
|
});
|
|
71
84
|
Object.defineProperty(exports, "RedlineHeader", {
|
|
72
85
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunk2YV7FBLO_cjs.RedlineHeader; }
|
|
74
87
|
});
|
|
75
88
|
Object.defineProperty(exports, "RedlineMark", {
|
|
76
89
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunk2YV7FBLO_cjs.RedlineMark; }
|
|
78
91
|
});
|
|
79
92
|
Object.defineProperty(exports, "RedlineRevertGutter", {
|
|
80
93
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunk2YV7FBLO_cjs.RedlineRevertGutter; }
|
|
82
95
|
});
|
|
83
96
|
Object.defineProperty(exports, "RedlineStatus", {
|
|
84
97
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunk2YV7FBLO_cjs.RedlineStatus; }
|
|
86
99
|
});
|
|
87
100
|
Object.defineProperty(exports, "VersionTimeline", {
|
|
88
101
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunk2YV7FBLO_cjs.VersionTimeline; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "loadArtifactRuntime", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunk2YV7FBLO_cjs.loadArtifactRuntime; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "ARTIFACT_CSP", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return chunkVG24E4JJ_cjs.ARTIFACT_CSP; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "ARTIFACT_MESSAGE_TAG", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunkVG24E4JJ_cjs.ARTIFACT_MESSAGE_TAG; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "ARTIFACT_SANDBOX", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunkVG24E4JJ_cjs.ARTIFACT_SANDBOX; }
|
|
90
119
|
});
|
|
91
120
|
Object.defineProperty(exports, "DEFAULT_STREAMED_ARTIFACT_FRAME_LABELS", {
|
|
92
121
|
enumerable: true,
|
|
@@ -7,3 +7,6 @@ export { ArtifactRedlineView, type ArtifactRedlineState, type ArtifactRedlineVie
|
|
|
7
7
|
export { VersionTimeline, DEFAULT_VERSION_TIMELINE_LABELS, type VersionTimelineProps, type VersionTimelineLabels, type VersionTimelineTestIds, type VersionEntry, type TranslationEntry, } from './VersionTimeline';
|
|
8
8
|
export { RedlineComputing, RedlineDocument, RedlineFrame, RedlineHeader, RedlineMark, RedlineRevertGutter, RedlineStatus, DEFAULT_REDLINE_LABELS, type RedlineLabels, type RedlineDocumentProps, type RedlineFrameProps, type RedlineHeaderProps, type RedlineMarkerView, type RedlineRegionKind, type RedlineStatusKind, } from './RedlineParts';
|
|
9
9
|
export { StreamedArtifactFrame, DEFAULT_STREAMED_ARTIFACT_FRAME_LABELS, type StreamedArtifactFrameLabels, type StreamedArtifactFrameProps, type StreamedArtifactFramePhase, type StreamedArtifactFrameTestIds, } from './StreamedArtifactFrame';
|
|
10
|
+
export { ArtifactPreview, DEFAULT_ARTIFACT_RUNTIME_URL, loadArtifactRuntime, type ArtifactPreviewProps, } from './ArtifactPreview';
|
|
11
|
+
export { ArtifactCodeView, type ArtifactCodeViewProps } from './ArtifactCodeView';
|
|
12
|
+
export { ARTIFACT_CSP, ARTIFACT_MESSAGE_TAG, ARTIFACT_SANDBOX, type ArtifactRuntime, type ArtifactSandboxMessage, } from './sandbox-policy';
|
package/dist/artifacts/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ArtifactCompareBar, ArtifactEditor, ArtifactEditorBody, ArtifactRedlineView, ArtifactToolbar, ArtifactVersionBar, DEFAULT_ARTIFACT_COMPARE_BAR_LABELS, DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS, DEFAULT_ARTIFACT_TOOLBAR_LABELS, DEFAULT_ARTIFACT_VERSION_BAR_LABELS, DEFAULT_REDLINE_LABELS, DEFAULT_VERSION_TIMELINE_LABELS, RedlineComputing, RedlineDocument, RedlineFrame, RedlineHeader, RedlineMark, RedlineRevertGutter, RedlineStatus, VersionTimeline } from '../chunk-
|
|
2
|
+
export { ArtifactCodeView, ArtifactCompareBar, ArtifactEditor, ArtifactEditorBody, ArtifactPreview, ArtifactRedlineView, ArtifactToolbar, ArtifactVersionBar, DEFAULT_ARTIFACT_COMPARE_BAR_LABELS, DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS, DEFAULT_ARTIFACT_RUNTIME_URL, DEFAULT_ARTIFACT_TOOLBAR_LABELS, DEFAULT_ARTIFACT_VERSION_BAR_LABELS, DEFAULT_REDLINE_LABELS, DEFAULT_VERSION_TIMELINE_LABELS, RedlineComputing, RedlineDocument, RedlineFrame, RedlineHeader, RedlineMark, RedlineRevertGutter, RedlineStatus, VersionTimeline, loadArtifactRuntime } from '../chunk-65S53MZK.js';
|
|
3
|
+
export { ARTIFACT_CSP, ARTIFACT_MESSAGE_TAG, ARTIFACT_SANDBOX } from '../chunk-NS4JD2VR.js';
|
|
3
4
|
export { DEFAULT_STREAMED_ARTIFACT_FRAME_LABELS, StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
4
5
|
import '../chunk-7F6CBP3Z.js';
|
|
5
6
|
import '../chunk-VUNV25KB.js';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The artifact sandbox's fixed policy: iframe sandbox flags, CSP, the message marker and the runtime
|
|
3
|
+
* shape. Kept apart from `sandboxDocument` (which pulls in the JSX compiler) so the preview can render
|
|
4
|
+
* its frame attributes without loading the compiler until an artifact is actually shown.
|
|
5
|
+
*/
|
|
6
|
+
/** Exactly this and nothing else. Do not add allow-same-origin (it voids the sandbox). */
|
|
7
|
+
export declare const ARTIFACT_SANDBOX = "allow-scripts";
|
|
8
|
+
export declare const ARTIFACT_CSP: string;
|
|
9
|
+
/** Marker on every message the sandbox posts to the app. */
|
|
10
|
+
export declare const ARTIFACT_MESSAGE_TAG = "__arbiArtifact";
|
|
11
|
+
/**
|
|
12
|
+
* Source text of the generated runtime (scripts/build-artifact-runtime.mjs). It is inlined into the
|
|
13
|
+
* document: a frame with an opaque origin cannot load blob: URLs from the app, and inlining needs no
|
|
14
|
+
* network or CSP exception.
|
|
15
|
+
*/
|
|
16
|
+
export interface ArtifactRuntime {
|
|
17
|
+
/** React + ReactDOM as one IIFE. */
|
|
18
|
+
react: string;
|
|
19
|
+
/** Tailwind v4 browser build. */
|
|
20
|
+
tailwind: string;
|
|
21
|
+
}
|
|
22
|
+
export type ArtifactSandboxMessage = {
|
|
23
|
+
[ARTIFACT_MESSAGE_TAG]: true;
|
|
24
|
+
type: 'ready';
|
|
25
|
+
} | {
|
|
26
|
+
[ARTIFACT_MESSAGE_TAG]: true;
|
|
27
|
+
type: 'console';
|
|
28
|
+
level: string;
|
|
29
|
+
text: string;
|
|
30
|
+
} | {
|
|
31
|
+
[ARTIFACT_MESSAGE_TAG]: true;
|
|
32
|
+
type: 'error';
|
|
33
|
+
text: string;
|
|
34
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ArtifactPreviewKind } from '@arbidocs/react/artifacts';
|
|
2
|
+
import { type ArtifactRuntime } from './sandbox-policy';
|
|
3
|
+
export declare function buildHtmlSandboxDocument(source: string, runtime: ArtifactRuntime): string;
|
|
4
|
+
/** Compiles an artifact's JSX file to plain JS (CommonJS), or throws with a readable message. */
|
|
5
|
+
export declare function compileReactArtifact(source: string): string;
|
|
6
|
+
export declare function buildReactSandboxDocument(source: string, runtime: ArtifactRuntime): string;
|
|
7
|
+
export declare function buildSandboxDocument(kind: ArtifactPreviewKind, source: string, runtime: ArtifactRuntime): string;
|