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:
Reservieren
2026-03-31 22:09:56 -03:00
parent 747be9c2f3
commit 009c29d318
408 changed files with 1416 additions and 431 deletions

View File

@@ -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 Link from './components/Link.js';
import Text from './components/Text.js';

View File

@@ -1,4 +1,4 @@
import { c as _c } from "react/compiler-runtime";
import { c as _c } from "react-compiler-runtime";
import React, { type PropsWithChildren, useContext, useInsertionEffect } from 'react';
import instances from '../instances.js';
import { DISABLE_MOUSE_TRACKING, ENABLE_MOUSE_TRACKING, ENTER_ALT_SCREEN, EXIT_ALT_SCREEN } from '../termio/dec.js';

View File

@@ -1,4 +1,4 @@
import { c as _c } from "react/compiler-runtime";
import { c as _c } from "react-compiler-runtime";
import '../global.d.ts';
import React, { type PropsWithChildren, type Ref } from 'react';
import type { Except } from 'type-fest';

View File

@@ -1,4 +1,4 @@
import { c as _c } from "react/compiler-runtime";
import { c as _c } from "react-compiler-runtime";
import React, { type Ref, useCallback, useEffect, useRef, useState } from 'react';
import type { Except } from 'type-fest';
import type { DOMElement } from '../dom.js';

View File

@@ -1,4 +1,4 @@
import { c as _c } from "react/compiler-runtime";
import { c as _c } from "react-compiler-runtime";
import React, { createContext, useEffect, useState } from 'react';
import { FRAME_INTERVAL_MS } from '../constants.js';
import { useTerminalFocus } from '../hooks/use-terminal-focus.js';

View File

@@ -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 { supportsHyperlinks } from '../supports-hyperlinks.js';

View File

@@ -1,4 +1,4 @@
import { c as _c } from "react/compiler-runtime";
import { c as _c } from "react-compiler-runtime";
import React from 'react';
export type Props = {
/**

View File

@@ -1,4 +1,4 @@
import { c as _c } from "react/compiler-runtime";
import { c as _c } from "react-compiler-runtime";
import React, { type PropsWithChildren } from 'react';
import Box, { type Props as BoxProps } from './Box.js';
type Props = Omit<BoxProps, 'noSelect'> & {

View File

@@ -1,4 +1,4 @@
import { c as _c } from "react/compiler-runtime";
import { c as _c } from "react-compiler-runtime";
import React from 'react';
type Props = {
/**

View File

@@ -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 Box from './Box.js';

View File

@@ -1,4 +1,4 @@
import { c as _c } from "react/compiler-runtime";
import { c as _c } from "react-compiler-runtime";
import React, { createContext, useMemo, useSyncExternalStore } from 'react';
import { getTerminalFocused, getTerminalFocusState, subscribeTerminalFocus, type TerminalFocusState } from '../terminal-focus-state.js';
export type { TerminalFocusState };

View File

@@ -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 type { Color, Styles, TextStyles } from '../styles.js';

View File

@@ -2,7 +2,6 @@ import {
ContinuousEventPriority,
DefaultEventPriority,
DiscreteEventPriority,
NoEventPriority,
} from 'react-reconciler/constants.js'
import { logError } from '../../utils/log.js'
import { HANDLER_FOR_EVENT } from './event-handlers.js'
@@ -10,6 +9,8 @@ import type { EventTarget, TerminalEvent } from './terminal-event.js'
// --
const NO_EVENT_PRIORITY = 0
type DispatchListener = {
node: EventTarget
handler: (event: TerminalEvent) => void
@@ -160,7 +161,7 @@ type DiscreteUpdates = <A, B>(
*/
export class Dispatcher {
currentEvent: TerminalEvent | null = null
currentUpdatePriority: number = DefaultEventPriority as number
currentUpdatePriority: number = NO_EVENT_PRIORITY
discreteUpdates: DiscreteUpdates | null = null
/**
@@ -169,7 +170,7 @@ export class Dispatcher {
* when no explicit priority has been set.
*/
resolveEventPriority(): number {
if (this.currentUpdatePriority !== (NoEventPriority as number)) {
if (this.currentUpdatePriority !== NO_EVENT_PRIORITY) {
return this.currentUpdatePriority
}
if (this.currentEvent) {