@xpufx/paseo-forges 0.1.1 → 0.1.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.
@@ -8,7 +8,7 @@ import {
8
8
  resolveForgeTarget,
9
9
  type ForgeRepoIdentity,
10
10
  } from "../shared/issues.js";
11
- import { usePluginSettings, useRpcQuery } from "paseo-plugin-helper/client";
11
+ import { usePluginSettings, useRpcQuery } from "./vendor/paseo-plugin-helper/index";
12
12
 
13
13
  /** Workspace directory backing an agent, or undefined while it cannot resolve. */
14
14
  export function useAgentDirectory(agentId: string): string | undefined {
@@ -8,7 +8,7 @@ import type {
8
8
  import {
9
9
  Badge,
10
10
  ForgeIcon,
11
- } from "paseo-plugin-helper/client";
11
+ } from "./vendor/paseo-plugin-helper/index";
12
12
  import {
13
13
  boardAlertTimelineSchema,
14
14
  classifyForgeUrl,
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { Text } from "react-native";
3
- import { Badge } from "paseo-plugin-helper/client";
3
+ import { Badge } from "./vendor/paseo-plugin-helper/index";
4
4
 
5
5
  /** Shared label for the cross-repo marker, so every surface reads the same. */
6
6
  export const FOREIGN_LINK_LABEL = "foreign";
@@ -18,7 +18,7 @@ import {
18
18
  useRpcMutation,
19
19
  usePluginTheme,
20
20
  copyToClipboard,
21
- } from "paseo-plugin-helper/client";
21
+ } from "./vendor/paseo-plugin-helper/index";
22
22
  import {
23
23
  hookStatusContract,
24
24
  hookQueuesContract,
@@ -31,8 +31,8 @@ import {
31
31
  getClientHost,
32
32
  type RenderModalProps,
33
33
  type RenderPillProps,
34
- } from "paseo-plugin-helper/client";
35
- import { hasFuzzyHighlight, normalizeSearchQuery } from "paseo-plugin-helper/shared";
34
+ } from "./vendor/paseo-plugin-helper/index";
35
+ import { hasFuzzyHighlight, normalizeSearchQuery } from "../shared/vendor/paseo-plugin-helper/index";
36
36
  import { HookQueueView } from "./hook-queue-panel.js";
37
37
  import {
38
38
  ATTENTION_LABELS,
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { View, type StyleProp, type ViewStyle } from "react-native";
3
- import { Badge, usePluginTheme } from "paseo-plugin-helper/client";
3
+ import { Badge, usePluginTheme } from "./vendor/paseo-plugin-helper/index";
4
4
  import { planLabelChip, type ForgeLabel, type LabelChipHalf } from "../shared/issues.js";
5
5
 
6
6
  /** Inner corners join the halves; the scope's right border becomes the divider. */
@@ -8,7 +8,7 @@ import type {
8
8
  } from "@getpaseo/plugin/client";
9
9
  import type { PluginTheme } from "@getpaseo/plugin";
10
10
  import { Icon } from "@getpaseo/plugin/client/react-native";
11
- import { ForgeIcon, copyToClipboard } from "paseo-plugin-helper/client";
11
+ import { ForgeIcon, copyToClipboard } from "./vendor/paseo-plugin-helper/index";
12
12
  import {
13
13
  classifyForgeLink,
14
14
  classifyForgeUrl,
@@ -6,7 +6,7 @@ import type {
6
6
  PluginTimelineTransformerContribution,
7
7
  } from "@getpaseo/plugin/client";
8
8
  import { Icon } from "@getpaseo/plugin/client/react-native";
9
- import { Badge } from "paseo-plugin-helper/client";
9
+ import { Badge } from "./vendor/paseo-plugin-helper/index";
10
10
  import {
11
11
  forgejoNotificationCardSchema,
12
12
  forgejoNotificationItem,
@@ -6,7 +6,7 @@ import type {
6
6
  PluginTimelineTransformerContribution,
7
7
  } from "@getpaseo/plugin/client";
8
8
  import type { PluginTheme } from "@getpaseo/plugin";
9
- import { Badge, ForgeIcon, Icon } from "paseo-plugin-helper/client";
9
+ import { Badge, ForgeIcon, Icon } from "./vendor/paseo-plugin-helper/index";
10
10
  import {
11
11
  forgejoWebhookCardSchema,
12
12
  forgejoWebhookItem,
package/index.client.tsx CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  initClientHelpers,
6
6
  registerComposerPill,
7
7
  registerSidebarSurface,
8
- } from "paseo-plugin-helper/client";
8
+ } from "./client/vendor/paseo-plugin-helper/index";
9
9
  import {
10
10
  ISSUES_PILL_ID,
11
11
  ForgePill,
package/index.server.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { PluginServerContext } from "@getpaseo/plugin/server";
2
- import { createPluginLogger } from "paseo-plugin-helper/server";
2
+ import { createPluginLogger } from "./server/vendor/paseo-plugin-helper/index";
3
3
  import {
4
4
  addCommentContract,
5
5
  createIssueContract,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpufx/paseo-forges",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Work with Forge/Gitea-family issues from inside Paseo via the embedded fetch API client.",
5
5
  "type": "module",
6
6
  "private": false,
package/server/issues.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { createPluginLogger } from "paseo-plugin-helper/server";
1
+ import { createPluginLogger } from "./vendor/paseo-plugin-helper/index";
2
2
  import {
3
3
  INSTALL_LABEL_MODES,
4
4
  IssueDetailSchema,
@@ -31,7 +31,7 @@ import {
31
31
  type SetLabelOutput,
32
32
  validateCreateIssueInput,
33
33
  } from "../shared/issues.js";
34
- import type { RpcOutput } from "paseo-plugin-helper/shared";
34
+ import type { RpcOutput } from "../shared/vendor/paseo-plugin-helper/index";
35
35
  import { ForgeClient, type ForgejoIssueDetail } from "./forge-client.js";
36
36
  import { ForgeGuard, type GuardLogLevel } from "./forge-guard.js";
37
37
  import { gitOriginForDirectory } from "./git-origin.js";
@@ -2,7 +2,7 @@ import {
2
2
  PluginStorage,
3
3
  createPluginLogger,
4
4
  createSettingsHandlers,
5
- } from "paseo-plugin-helper/server";
5
+ } from "./vendor/paseo-plugin-helper/index";
6
6
  import {
7
7
  FORGES_PLUGIN_ID,
8
8
  activeForgeForDirectory,
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { defineContract } from "paseo-plugin-helper/shared";
2
+ import { defineContract } from "./vendor/paseo-plugin-helper/index";
3
3
 
4
4
  export const HookQueueMessageSchema = z.object({
5
5
  id: z.string(),
package/shared/issues.ts CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  normalizeForgeHost,
6
6
  normalizeSearchQuery,
7
7
  truncate,
8
- } from "paseo-plugin-helper/shared";
8
+ } from "./vendor/paseo-plugin-helper/index";
9
9
 
10
10
  export const FORGES_PLUGIN_ID = "forges";
11
11