@shipfox/client-runners 22.0.0 → 22.0.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shipfox/client-runners",
3
3
  "license": "MIT",
4
- "version": "22.0.0",
4
+ "version": "22.0.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ShipfoxHQ/shipfox.git",
@@ -29,9 +29,9 @@
29
29
  "@tanstack/react-form": "^1.32.0",
30
30
  "@shipfox/api-runners-dto": "13.0.0",
31
31
  "@shipfox/client-api": "6.0.1",
32
- "@shipfox/client-shell": "22.0.0",
33
- "@shipfox/client-ui": "22.0.0",
34
- "@shipfox/react-ui": "2.1.0"
32
+ "@shipfox/client-shell": "22.0.2",
33
+ "@shipfox/client-ui": "22.0.2",
34
+ "@shipfox/react-ui": "2.1.1"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@tanstack/react-query": "^5.101.0",
@@ -48,8 +48,7 @@ export function WorkspaceManualRegistrationTokensSettingsSection({
48
48
  <div className="flex flex-col gap-tight">
49
49
  <Header variant="h3">Runner registration tokens</Header>
50
50
  <Text size="sm" className="text-foreground-neutral-muted">
51
- Register individual runner agents that run jobs directly in this workspace. Tokens are
52
- reusable until revoked.
51
+ Tokens are reusable until they expire or are revoked.
53
52
  </Text>
54
53
  </div>
55
54
  <div className="flex items-center gap-cluster">
@@ -52,10 +52,6 @@ export function WorkspaceProvisionerTokensSettingsSection({workspaceId}: {worksp
52
52
  <div className="flex items-center justify-between gap-group max-[640px]:items-start">
53
53
  <div className="flex flex-col gap-tight">
54
54
  <Header variant="h3">Runner provisioner registration tokens</Header>
55
- <Text size="sm" className="text-foreground-neutral-muted">
56
- Register runner provisioners that connect to this workspace and create runners
57
- dynamically based on demand.
58
- </Text>
59
55
  </div>
60
56
  <div className="flex items-center gap-cluster">
61
57
  {(tokensQuery.isFetching && !tokensQuery.isPending) ||
@@ -1,9 +1,16 @@
1
1
  import {defineRoute, useActiveWorkspace} from '@shipfox/client-shell/runtime';
2
+ import {Header} from '@shipfox/react-ui/typography';
2
3
  import {WorkspaceProvisionerTokensSettingsSection} from '#index.js';
3
4
 
4
5
  export default defineRoute({
5
6
  staticData: {frame: 'content'},
6
- component: () => (
7
- <WorkspaceProvisionerTokensSettingsSection workspaceId={useActiveWorkspace().id} />
8
- ),
7
+ component: () => {
8
+ const workspace = useActiveWorkspace();
9
+ return (
10
+ <div className="flex min-w-0 flex-col gap-section">
11
+ <Header variant="h1">Runner provisioners</Header>
12
+ <WorkspaceProvisionerTokensSettingsSection workspaceId={workspace.id} />
13
+ </div>
14
+ );
15
+ },
9
16
  });
@@ -1,9 +1,16 @@
1
1
  import {defineRoute, useActiveWorkspace} from '@shipfox/client-shell/runtime';
2
+ import {Header} from '@shipfox/react-ui/typography';
2
3
  import {WorkspaceManualRegistrationTokensSettingsSection} from '#index.js';
3
4
 
4
5
  export default defineRoute({
5
6
  staticData: {frame: 'content'},
6
- component: () => (
7
- <WorkspaceManualRegistrationTokensSettingsSection workspaceId={useActiveWorkspace().id} />
8
- ),
7
+ component: () => {
8
+ const workspace = useActiveWorkspace();
9
+ return (
10
+ <div className="flex min-w-0 flex-col gap-section">
11
+ <Header variant="h1">Runners</Header>
12
+ <WorkspaceManualRegistrationTokensSettingsSection workspaceId={workspace.id} />
13
+ </div>
14
+ );
15
+ },
9
16
  });