refactor: update import paths for react/compiler-runtime to react-compiler-runtime
feat: add OpenClaude local agent playbook for setup and usage instructions chore: implement provider bootstrap script for profile initialization chore: create provider launch script to manage provider execution chore: add system check script for runtime diagnostics and validation feat: implement useEffectEventCompat hook for React 18 compatibility
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { c as _c } from "react/compiler-runtime";
|
||||
import { c as _c } from "react-compiler-runtime";
|
||||
import React, { useMemo } from 'react';
|
||||
import type { DeepImmutable } from 'src/types/utils.js';
|
||||
import { useElapsedTime } from '../../hooks/useElapsedTime.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { c as _c } from "react/compiler-runtime";
|
||||
import { c as _c } from "react-compiler-runtime";
|
||||
import * as React from 'react';
|
||||
import { Text } from 'src/ink.js';
|
||||
import type { BackgroundTaskState } from 'src/tasks/types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { c as _c } from "react/compiler-runtime";
|
||||
import { c as _c } from "react-compiler-runtime";
|
||||
import figures from 'figures';
|
||||
import * as React from 'react';
|
||||
import { useMemo, useState } from 'react';
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { c as _c } from "react/compiler-runtime";
|
||||
import { c as _c } from "react-compiler-runtime";
|
||||
import { feature } from 'bun:bundle';
|
||||
import figures from 'figures';
|
||||
import React, { type ReactNode, useEffect, useEffectEvent, useMemo, useRef, useState } from 'react';
|
||||
import React, { type ReactNode, useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { isCoordinatorMode } from 'src/coordinator/coordinatorMode.js';
|
||||
import { useEffectEventCompat } from 'src/hooks/useEffectEventCompat.js';
|
||||
import { useTerminalSize } from 'src/hooks/useTerminalSize.js';
|
||||
import { useAppState, useSetAppState } from 'src/state/AppState.js';
|
||||
import { enterTeammateView, exitTeammateView } from 'src/state/teammateViewHelpers.js';
|
||||
@@ -321,7 +322,7 @@ export function BackgroundTasksDialog({
|
||||
|
||||
// Wrap onDone in useEffectEvent to get a stable reference that always calls
|
||||
// the current onDone callback without causing the effect to re-fire.
|
||||
const onDoneEvent = useEffectEvent(onDone);
|
||||
const onDoneEvent = useEffectEventCompat(onDone);
|
||||
useEffect(() => {
|
||||
if (viewState.mode !== 'list') {
|
||||
const task = (typedTasks ?? {})[viewState.itemId];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { c as _c } from "react/compiler-runtime";
|
||||
import { c as _c } from "react-compiler-runtime";
|
||||
import React from 'react';
|
||||
import type { DeepImmutable } from 'src/types/utils.js';
|
||||
import { useElapsedTime } from '../../hooks/useElapsedTime.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { c as _c } from "react/compiler-runtime";
|
||||
import { c as _c } from "react-compiler-runtime";
|
||||
import React, { useMemo } from 'react';
|
||||
import type { DeepImmutable } from 'src/types/utils.js';
|
||||
import { useElapsedTime } from '../../hooks/useElapsedTime.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { c as _c } from "react/compiler-runtime";
|
||||
import { c as _c } from "react-compiler-runtime";
|
||||
import figures from 'figures';
|
||||
import React, { useMemo, useState } from 'react';
|
||||
import type { SDKMessage } from 'src/entrypoints/agentSdkTypes.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { c as _c } from "react/compiler-runtime";
|
||||
import { c as _c } from "react-compiler-runtime";
|
||||
import React, { useRef } from 'react';
|
||||
import type { RemoteAgentTaskState } from 'src/tasks/RemoteAgentTask/RemoteAgentTask.js';
|
||||
import type { DeepImmutable } from 'src/types/utils.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { c as _c } from "react/compiler-runtime";
|
||||
import { c as _c } from "react-compiler-runtime";
|
||||
import React, { Suspense, use, useDeferredValue, useEffect, useState } from 'react';
|
||||
import type { DeepImmutable } from 'src/types/utils.js';
|
||||
import type { CommandResultDisplay } from '../../commands.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { c as _c } from "react/compiler-runtime";
|
||||
import { c as _c } from "react-compiler-runtime";
|
||||
import type { ReactNode } from 'react';
|
||||
import React from 'react';
|
||||
import { Text } from 'src/ink.js';
|
||||
|
||||
Reference in New Issue
Block a user