@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 +6 -2
- package/dist/{chat-runtime-CMli5dzJ.d.ts → chat-runtime-D7wu_KbX.d.ts} +3 -4
- package/dist/{chunk-FFASNDXU.js → chunk-JLDH4U5L.js} +3 -3
- package/dist/{chunk-FFASNDXU.js.map → chunk-JLDH4U5L.js.map} +1 -1
- package/dist/{chunk-TZBLUZ2X.js → chunk-SVK6PLGO.js} +4300 -2426
- package/dist/chunk-SVK6PLGO.js.map +1 -0
- package/dist/client/index.d.ts +4 -111
- package/dist/client/index.js +1 -1
- package/dist/index-CB9la6xE.d.ts +112 -0
- package/dist/index.d.ts +5 -6
- package/dist/index.js +2 -2
- package/dist/react/index.d.ts +5 -6
- package/dist/react/index.js +2 -2
- package/dist/{remote-DMPfepa9.d.ts → remote-_6TDvg-g.d.ts} +1 -1
- package/dist/server/index.d.ts +449 -32
- package/dist/server/index.js +1 -1
- package/dist/{session-BO6EZNK7.d.ts → session-DPhHN7RZ.d.ts} +18 -2
- package/dist/{store-H2cQxdpe.d.ts → store-GYldc9EJ.d.ts} +1 -1
- package/dist/testing/index.d.ts +3 -3
- package/dist/testing/index.js +1 -1
- package/dist/{thread_event_store-BIS0qzhi.d.ts → thread_event_store-B9CoQUIA.d.ts} +26 -1
- package/package.json +88 -88
- package/dist/DynamicToolCallResponse-D2OVpa4p.d.ts +0 -8
- package/dist/ToolRequestUserInputResponse-Bxjlpgho.d.ts +0 -17
- package/dist/chunk-TZBLUZ2X.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @jrkropp/codex-js
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.2
|
|
4
4
|
|
|
5
|
-
|
|
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 {
|
|
5
|
-
import {
|
|
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-
|
|
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-
|
|
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-
|
|
9383
|
-
//# sourceMappingURL=chunk-
|
|
9382
|
+
//# sourceMappingURL=chunk-JLDH4U5L.js.map
|
|
9383
|
+
//# sourceMappingURL=chunk-JLDH4U5L.js.map
|