@jrkropp/codex-js 0.1.0 → 0.1.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @jrkropp/codex-js
2
2
 
3
- ## 0.1.0
3
+ ## 0.1.2
4
4
 
5
- Initial public extraction of the unofficial TypeScript Codex runtime.
5
+ Expose the complete Codex runtime surface from the public server subpath for host adapters.
6
+
7
+ ## 0.1.1
8
+
9
+ Initial visible public extraction of the unofficial TypeScript Codex runtime.
@@ -1,13 +1,12 @@
1
1
  import * as React$1 from 'react';
2
2
  import { MutableRefObject, ReactNode, ComponentPropsWithRef, RefObject, ReactElement, ComponentProps } from 'react';
3
3
  import { LegendListRef } from '@legendapp/list/react';
4
- import { l as RequestId, q as ToolRequestUserInputQuestion, r as UserInput, u as UserMessageTurnItem, v as Turn, T as ThreadId, w as CollaborationMode, m as ThreadEventSnapshot, d as StoredThread, a as ServerRequest, x as DynamicToolCallRequest, y as RequestPermissionsEvent, z as TurnItem } from './thread_event_store-BIS0qzhi.js';
5
- import { f as ThreadStartParams, g as TurnStartParams, C as CodexAppServer, R as Result, J as JSONRPCErrorError } from './session-BO6EZNK7.js';
6
- import { T as ToolRequestUserInputResponse } from './ToolRequestUserInputResponse-Bxjlpgho.js';
4
+ import { j as RequestId, k as ToolRequestUserInputQuestion, l as UserInput, m as UserMessageTurnItem, n as Turn, T as ThreadId, o as CollaborationMode, p as ThreadEventSnapshot, d as StoredThread, a as ServerRequest, D as DynamicToolCallRequest, q as RequestPermissionsEvent, r as TurnItem } from './thread_event_store-B9CoQUIA.js';
5
+ import { T as ToolRequestUserInputResponse, a as ThreadStartParams, b as TurnStartParams, C as CodexAppServer, R as Result, J as JSONRPCErrorError } from './session-DPhHN7RZ.js';
7
6
  import * as zustand_middleware from 'zustand/middleware';
8
7
  import * as zustand from 'zustand';
9
8
  import { a as Sidebar, t as SidebarProvider } from './sidebar-DT2XoitN.js';
10
- import { T as ThreadStore } from './store-H2cQxdpe.js';
9
+ import { T as ThreadStore } from './store-GYldc9EJ.js';
11
10
 
12
11
  type ThreadReader = Pick<ThreadStore, "loadHistory" | "readThread">;
13
12
 
@@ -1,5 +1,5 @@
1
1
  import { Sidebar, SidebarProvider, SidebarInset } from './chunk-FN3SWHRH.js';
2
- import { defaultModelsManager, resolveReasoningEffortForModel, ThreadEventStore, AppServerSession, threadEventSnapshotHasStarted, asThreadId, thread_token_usage_updated_notification_from_rollout_items } from './chunk-TZBLUZ2X.js';
2
+ import { defaultModelsManager, resolveReasoningEffortForModel, ThreadEventStore, AppServerSession, threadEventSnapshotHasStarted, asThreadId, thread_token_usage_updated_notification_from_rollout_items } from './chunk-SVK6PLGO.js';
3
3
  import { memo, useState, useMemo, useCallback, useRef, useEffect, useLayoutEffect, forwardRef, useImperativeHandle, Suspense, createContext, Children, isValidElement, useContext, createElement, Fragment as Fragment$1 } from 'react';
4
4
  import { ChevronRightIcon, FolderIcon, FolderClosedIcon, FileIcon, CheckIcon, UserRoundIcon, BoxIcon, BotIcon, SparklesIcon, ArchiveIcon, MessageSquarePlusIcon, ChevronDownIcon, EllipsisIcon, LockOpenIcon, PenLineIcon, LockIcon, ListTodoIcon, StarIcon, Clock3Icon, SearchIcon, ChevronLeftIcon, XIcon, GlobeIcon, ImageIcon, LightbulbIcon, SettingsIcon, FileDiffIcon, TerminalIcon, PaperclipIcon, CopyIcon, InfoIcon, TriangleAlertIcon, CheckCircleIcon, AlertCircleIcon } from 'lucide-react';
5
5
  import { cva } from 'class-variance-authority';
@@ -9379,5 +9379,5 @@ function CodexComposer() {
9379
9379
  }
9380
9380
 
9381
9381
  export { CodexChat, CodexChatLayout, CodexChatProvider, CodexChatSidebar, CodexChatView, CodexComposer, CodexMessages, CodexThread, PROJECT_MENTION_SIGIL, RecordingMeterState, SKILL_MENTION_SIGIL, TOOL_MENTION_SIGIL, WORKSPACE_CHAT_MAX_IMAGE_ATTACHMENTS, WORKSPACE_CHAT_MAX_IMAGE_BYTES, assistantComposerDraftKey, buildCollapsedProposedPlanPreviewMarkdown, buildExpandedImagePreview, buildPlanImplementationPrompt, buildPlanImplementationThreadTitle, buildProposedPlanMarkdownFilename, codexModelOptions, codexReasoningEffortOptions, createCodexChatRenderState, createComposerImageAttachments, createDefaultTurnStartParams, decodeHistoryMentions, defaultCodexModel, defaultCodexProviderInstance, defaultCodexReasoningEffort, encodeHistoryMentions, findLinkedMentions, getRealtimeConversationControlState, isAcceptedComposerImageFile, isCodexReasoningEffort, isRealtimeConversationLive, linkedMentionTextElements, mentionBindingRangesForText, mentionBindingsAfterReplacement, mentionToken, normalizeMentionBindingsForText, normalizePlanMarkdownForExport, persistComposerDraftAttachments, proposedPlanTitle, resolveCodexModelOption, resolveCodexReasoningEffortForModel, resolveCodexReasoningEffortOption, resolveDraftEffort, resolveDraftModel, resolvePlanFollowUpSubmission, restoreComposerDraftAttachments, revokeComposerImageAttachments, skillToken, stripDisplayedPlanMarkdown, useCodexChat, useCodexChatLifecycle, useCodexChatRuntime, useComposerDraftStore, useComposerThreadDraft, validateComposerImageFiles };
9382
- //# sourceMappingURL=chunk-FFASNDXU.js.map
9383
- //# sourceMappingURL=chunk-FFASNDXU.js.map
9382
+ //# sourceMappingURL=chunk-JLDH4U5L.js.map
9383
+ //# sourceMappingURL=chunk-JLDH4U5L.js.map