@xpufx/paseo-top 0.4.1 → 0.4.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.
@@ -1,5 +1,5 @@
1
1
  import type { PluginAgentSnapshot } from "@getpaseo/plugin";
2
- import { formatBytes, formatUptime } from "paseo-plugin-helper/shared";
2
+ import { formatBytes, formatUptime } from "../shared/vendor/paseo-plugin-helper/index";
3
3
  import {
4
4
  isPillEnabled,
5
5
  legacyFlagView,
package/client/pill.tsx CHANGED
@@ -41,14 +41,14 @@ import {
41
41
  type KeyValueProps,
42
42
  type CardHeaderProps,
43
43
  type BadgeProps,
44
- } from "paseo-plugin-helper/client";
44
+ } from "./vendor/paseo-plugin-helper/index";
45
45
  import {
46
46
  formatBytes,
47
47
  formatUptime,
48
48
  resolveMetricStatus,
49
49
  type MetricThresholds,
50
50
  type CustomPillState,
51
- } from "paseo-plugin-helper/shared";
51
+ } from "../shared/vendor/paseo-plugin-helper/index";
52
52
  import {
53
53
  getSystemResourcesRpc,
54
54
  topSettingsContract,
@@ -4,7 +4,7 @@ import {
4
4
  sharedSnapshotKey,
5
5
  normalizeSnapshotScope,
6
6
  type UseAutoRefreshQueryOptions,
7
- } from "paseo-plugin-helper/client";
7
+ } from "./vendor/paseo-plugin-helper/index";
8
8
  import {
9
9
  getSystemResourcesRpc,
10
10
  getCustomPillsRpc,
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { Text } from "react-native";
3
- import { Button, Row, Stack, usePluginTheme } from "paseo-plugin-helper/client";
3
+ import { Button, Row, Stack, usePluginTheme } from "./vendor/paseo-plugin-helper/index";
4
4
 
5
5
  export interface ChipOption<T extends string | number> {
6
6
  id: T;
@@ -16,8 +16,8 @@ import {
16
16
  CardHeader,
17
17
  usePluginSettings,
18
18
  usePluginTheme,
19
- } from "paseo-plugin-helper/client";
20
- import { formatBytes, formatUptime } from "paseo-plugin-helper/shared";
19
+ } from "./vendor/paseo-plugin-helper/index";
20
+ import { formatBytes, formatUptime } from "../shared/vendor/paseo-plugin-helper/index";
21
21
  import {
22
22
  topSettingsContract,
23
23
  checkboxesFromTarget,
@@ -1,4 +1,4 @@
1
- import { formatBytes, formatUptime } from "paseo-plugin-helper/shared";
1
+ import { formatBytes, formatUptime } from "../shared/vendor/paseo-plugin-helper/index";
2
2
  import { formatCompactTokens, type TopAgentSnapshot } from "./pill-labels";
3
3
  import type { TopTimelineTelemetryData } from "../shared/resources";
4
4
 
@@ -11,8 +11,8 @@ import {
11
11
  Row,
12
12
  Stack,
13
13
  usePluginSettings,
14
- } from "paseo-plugin-helper/client";
15
- import { formatBytes, formatUptime, truncatePath } from "paseo-plugin-helper/shared";
14
+ } from "./vendor/paseo-plugin-helper/index";
15
+ import { formatBytes, formatUptime, truncatePath } from "../shared/vendor/paseo-plugin-helper/index";
16
16
  import { buildTelemetryCopyText } from "./telemetry-copy";
17
17
  import {
18
18
  isTimelineEnabled,
@@ -16,7 +16,7 @@ import {
16
16
  SectionHeader,
17
17
  Stack,
18
18
  usePluginTheme,
19
- } from "paseo-plugin-helper/client";
19
+ } from "./vendor/paseo-plugin-helper/index";
20
20
  import {
21
21
  currentTurn,
22
22
  fetchAllTurns,
package/index.client.tsx CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  TextInput as HostTextInput,
10
10
  copyText,
11
11
  } from "@getpaseo/plugin/client/react-native";
12
- import { initClientHelpers } from "paseo-plugin-helper/client";
12
+ import { initClientHelpers } from "./client/vendor/paseo-plugin-helper/index";
13
13
  import { contributeClient } from "./client/pill";
14
14
  import { TopTimelineTelemetryCard } from "./client/telemetry";
15
15
  import { TurnCounterPanel } from "./client/turn-panel";
package/index.server.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { PluginServerContext } from "@getpaseo/plugin/server";
2
- import { guardRpcHandler } from "paseo-plugin-helper/server";
2
+ import { guardRpcHandler } from "./server/vendor/paseo-plugin-helper/index";
3
3
  import {
4
4
  getSystemResourcesRpc,
5
5
  getCustomPillsRpc,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@xpufx/paseo-top",
3
3
  "private": false,
4
4
  "license": "MIT",
5
- "version": "0.4.1",
5
+ "version": "0.4.2",
6
6
  "scripts": {
7
7
  "stamp": "node -e \"import('./server/vendor/paseo-plugin-helper/version.ts').then(m => m.stampVersion({ targetFile: 'shared/version.ts' }))\"",
8
8
  "typecheck": "tsc --noEmit",
@@ -13,7 +13,7 @@ import {
13
13
  isPluginRunning,
14
14
  CustomPillPoller,
15
15
  discoverCustomPillConfigs,
16
- } from "paseo-plugin-helper/server";
16
+ } from "./vendor/paseo-plugin-helper/index";
17
17
  import {
18
18
  type SystemResources,
19
19
  topSettingsContract,
@@ -3,7 +3,7 @@ import {
3
3
  defineSettingsContract,
4
4
  type RpcOutput,
5
5
  type CustomPillState,
6
- } from "paseo-plugin-helper/shared";
6
+ } from "./vendor/paseo-plugin-helper/index";
7
7
  import { z } from "zod";
8
8
 
9
9
  export type { CustomPillState };