@meistrari/tela-cli 0.6.0 → 0.7.0
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/package.json +1 -1
- package/src/ink/bark.tsx +2 -1
- package/src/ink/components.tsx +2 -1
- package/src/ink/runtime.tsx +2 -1
- package/src/ink/screens/feedback-screen.tsx +2 -1
- package/src/ink/screens/push-screen.tsx +1 -0
- package/src/ink/screens/run-screen.tsx +2 -1
- package/src/ink/screens/setup/breadcrumb.tsx +2 -1
- package/src/ink/screens/setup/setup-screen.tsx +2 -1
- package/src/ink/screens/setup/step-frame.tsx +2 -1
- package/src/ink/screens/setup/steps/done-step.tsx +2 -1
- package/src/ink/screens/setup/steps/environment-step.tsx +2 -1
- package/src/ink/screens/setup/steps/organization-step.tsx +2 -1
- package/src/ink/screens/setup/steps/review-step.tsx +2 -1
- package/src/ink/screens/setup/steps/running-step.tsx +2 -1
- package/src/ink/screens/setup/steps/ssh-key-step.tsx +2 -1
- package/src/ink/screens/setup/steps/text-field-step.tsx +2 -1
- package/src/ink/screens/sync-screen.tsx +2 -1
package/package.json
CHANGED
package/src/ink/bark.tsx
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @jsxImportSource react */
|
|
1
2
|
import { existsSync, mkdtempSync, rmSync } from 'node:fs'
|
|
2
3
|
import { tmpdir } from 'node:os'
|
|
3
4
|
import { join } from 'node:path'
|
|
@@ -237,4 +238,4 @@ export function BarkIntroScreen(props: {
|
|
|
237
238
|
<Text dimColor>Preparing the workflow…</Text>
|
|
238
239
|
</AppFrame>
|
|
239
240
|
)
|
|
240
|
-
}
|
|
241
|
+
}
|
package/src/ink/components.tsx
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @jsxImportSource react */
|
|
1
2
|
import React, { useEffect, useMemo, useState, type ReactNode } from 'react'
|
|
2
3
|
import { Box, Text } from 'ink'
|
|
3
4
|
import { getTelaAsciiHeader } from '../ui.ts'
|
|
@@ -174,4 +175,4 @@ export function Callout(props: {
|
|
|
174
175
|
return (
|
|
175
176
|
<Text color={color[props.tone]}>{props.children}</Text>
|
|
176
177
|
)
|
|
177
|
-
}
|
|
178
|
+
}
|
package/src/ink/runtime.tsx
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @jsxImportSource react */
|
|
1
2
|
import React, { useEffect, useMemo, useState } from 'react'
|
|
2
3
|
import { Box, Text, useInput } from 'ink'
|
|
3
4
|
import type {
|
|
@@ -391,4 +392,4 @@ export function FeedbackOutcomeScreen(props: {
|
|
|
391
392
|
</Section>
|
|
392
393
|
</AppFrame>
|
|
393
394
|
)
|
|
394
|
-
}
|
|
395
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @jsxImportSource react */
|
|
1
2
|
import React, { useEffect, useMemo, useRef, useState } from 'react'
|
|
2
3
|
import { Box, Text, useInput } from 'ink'
|
|
3
4
|
import type {
|
|
@@ -288,4 +289,4 @@ export function RunChatHandoffScreen(props: RunChatHandoffScreenProps): React.Re
|
|
|
288
289
|
</Callout>
|
|
289
290
|
</AppFrame>
|
|
290
291
|
)
|
|
291
|
-
}
|
|
292
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @jsxImportSource react */
|
|
1
2
|
import React, { useEffect, useMemo, useRef, useState } from 'react'
|
|
2
3
|
import { useInput } from 'ink'
|
|
3
4
|
import { ENVIRONMENT_PRESET_OPTIONS, resolveEnvironmentConfigForPreset } from '../../../config.ts'
|
|
@@ -608,4 +609,4 @@ function validateStep(
|
|
|
608
609
|
case 'sshPrivateKeyPath':
|
|
609
610
|
return validateSshPrivateKeyPath(values.sshPrivateKeyPath)
|
|
610
611
|
}
|
|
611
|
-
}
|
|
612
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @jsxImportSource react */
|
|
1
2
|
import React, { type ReactNode } from 'react'
|
|
2
3
|
import { AppFrame, Section } from '../../components.tsx'
|
|
3
4
|
import { Breadcrumb, type BreadcrumbEntry } from './breadcrumb.tsx'
|
|
@@ -27,4 +28,4 @@ export function StepFrame(props: StepFrameProps): React.ReactElement {
|
|
|
27
28
|
</Section>
|
|
28
29
|
</AppFrame>
|
|
29
30
|
)
|
|
30
|
-
}
|
|
31
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @jsxImportSource react */
|
|
1
2
|
import React from 'react'
|
|
2
3
|
import { Text } from 'ink'
|
|
3
4
|
import { AppFrame, Section } from '../../../components.tsx'
|
|
@@ -25,4 +26,4 @@ export function DoneStep(props: { result: SetupScreenResult }): React.ReactEleme
|
|
|
25
26
|
</Section>
|
|
26
27
|
</AppFrame>
|
|
27
28
|
)
|
|
28
|
-
}
|
|
29
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @jsxImportSource react */
|
|
1
2
|
import React from 'react'
|
|
2
3
|
import { ENVIRONMENT_PRESET_OPTIONS } from '../../../../config.ts'
|
|
3
4
|
import { SelectList } from '../../../components.tsx'
|
|
@@ -19,4 +20,4 @@ export function EnvironmentStep(props: { values: SetupFormValues }): React.React
|
|
|
19
20
|
currentIndex={currentIndex}
|
|
20
21
|
/>
|
|
21
22
|
)
|
|
22
|
-
}
|
|
23
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @jsxImportSource react */
|
|
1
2
|
import React from 'react'
|
|
2
3
|
import { Text } from 'ink'
|
|
3
4
|
import { AppFrame, Section, SelectList } from '../../../components.tsx'
|
|
@@ -31,4 +32,4 @@ export function OrganizationStep(props: {
|
|
|
31
32
|
</Section>
|
|
32
33
|
</AppFrame>
|
|
33
34
|
)
|
|
34
|
-
}
|
|
35
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @jsxImportSource react */
|
|
1
2
|
import React from 'react'
|
|
2
3
|
import { Text } from 'ink'
|
|
3
4
|
import { DEVICE_FLOW_BROWSER_HELP } from '../../../../config.ts'
|
|
@@ -33,4 +34,4 @@ export function RunningStep(props: {
|
|
|
33
34
|
{!provisioning ? <Callout tone="info">{DEVICE_FLOW_BROWSER_HELP}</Callout> : null}
|
|
34
35
|
</AppFrame>
|
|
35
36
|
)
|
|
36
|
-
}
|
|
37
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @jsxImportSource react */
|
|
1
2
|
import React from 'react'
|
|
2
3
|
import { Callout, SelectList } from '../../../components.tsx'
|
|
3
4
|
import type { SelectedSshPublicKey } from '../../../../forgejo.ts'
|
|
@@ -44,4 +45,4 @@ export function SshKeyStep(props: {
|
|
|
44
45
|
) : null}
|
|
45
46
|
</>
|
|
46
47
|
)
|
|
47
|
-
}
|
|
48
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @jsxImportSource react */
|
|
1
2
|
import React, { useEffect, useMemo, useRef, useState } from 'react'
|
|
2
3
|
import { Box, Text, useInput } from 'ink'
|
|
3
4
|
import type { BatchSyncFailure, SyncResult } from '../../types.ts'
|
|
@@ -279,4 +280,4 @@ export function SyncScreen(props: SyncScreenProps): React.ReactElement {
|
|
|
279
280
|
) : null}
|
|
280
281
|
</AppFrame>
|
|
281
282
|
)
|
|
282
|
-
}
|
|
283
|
+
}
|