@alasano/pi-linear 0.4.0 → 0.4.1

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.
Files changed (35) hide show
  1. package/extensions/client.ts +1 -1
  2. package/extensions/index.ts +1 -1
  3. package/extensions/params.ts +1 -1
  4. package/extensions/renderers/comments.ts +2 -2
  5. package/extensions/renderers/common.ts +2 -2
  6. package/extensions/renderers/documents.ts +2 -2
  7. package/extensions/renderers/initiatives.ts +2 -2
  8. package/extensions/renderers/issue-labels.ts +2 -2
  9. package/extensions/renderers/issue-relations.ts +2 -2
  10. package/extensions/renderers/issue-statuses.ts +2 -2
  11. package/extensions/renderers/issues.ts +2 -2
  12. package/extensions/renderers/milestones.ts +2 -2
  13. package/extensions/renderers/project-labels.ts +2 -2
  14. package/extensions/renderers/project-relations.ts +2 -2
  15. package/extensions/renderers/projects.ts +2 -2
  16. package/extensions/renderers/teams.ts +2 -2
  17. package/extensions/renderers/users.ts +2 -2
  18. package/extensions/renderers/workspaces.ts +2 -2
  19. package/extensions/settings.ts +3 -3
  20. package/extensions/tools/comments.ts +2 -2
  21. package/extensions/tools/documents.ts +2 -2
  22. package/extensions/tools/initiatives.ts +2 -2
  23. package/extensions/tools/issue-labels.ts +2 -2
  24. package/extensions/tools/issue-relations.ts +2 -2
  25. package/extensions/tools/issue-statuses.ts +2 -2
  26. package/extensions/tools/issues.ts +2 -2
  27. package/extensions/tools/milestones.ts +2 -2
  28. package/extensions/tools/project-labels.ts +2 -2
  29. package/extensions/tools/project-relations.ts +2 -2
  30. package/extensions/tools/projects.ts +2 -2
  31. package/extensions/tools/teams.ts +2 -2
  32. package/extensions/tools/users.ts +2 -2
  33. package/extensions/tools/workspaces.ts +2 -2
  34. package/extensions/util.ts +1 -1
  35. package/package.json +7 -6
@@ -1,4 +1,4 @@
1
- import type { ExtensionContext } from '@mariozechner/pi-coding-agent';
1
+ import type { ExtensionContext } from '@earendil-works/pi-coding-agent';
2
2
  import { promises as fs } from 'node:fs';
3
3
  import os from 'node:os';
4
4
  import path from 'node:path';
@@ -1,4 +1,4 @@
1
- import type { ExtensionAPI } from '@mariozechner/pi-coding-agent';
1
+ import type { ExtensionAPI } from '@earendil-works/pi-coding-agent';
2
2
  import {
3
3
  readCredentials,
4
4
  addWorkspace,
@@ -1,4 +1,4 @@
1
- import { Type } from '@sinclair/typebox';
1
+ import { Type } from 'typebox';
2
2
  import { compactObject, GenericObjectSchema } from './util';
3
3
 
4
4
  export const PaginationParams = {
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import {
8
8
  accentStyle,
9
9
  asString,
@@ -3,8 +3,8 @@ import {
3
3
  type AgentToolResult,
4
4
  type Theme,
5
5
  type ToolRenderResultOptions,
6
- } from '@mariozechner/pi-coding-agent';
7
- import { Text, truncateToWidth, visibleWidth } from '@mariozechner/pi-tui';
6
+ } from '@earendil-works/pi-coding-agent';
7
+ import { Text, truncateToWidth, visibleWidth } from '@earendil-works/pi-tui';
8
8
  import {
9
9
  getDefaultJsonView,
10
10
  registerLinearResultRenderer,
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import {
8
8
  accentStyle,
9
9
  asString,
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import {
8
8
  asString,
9
9
  cleanOneLine,
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import {
8
8
  asString,
9
9
  cleanOneLine,
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import {
8
8
  asString,
9
9
  cleanOneLine,
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import {
8
8
  accentStyle,
9
9
  asString,
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import type { LinearIssue } from '../types';
8
8
  import {
9
9
  accentStyle,
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import {
8
8
  accentStyle,
9
9
  asString,
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import {
8
8
  accentStyle,
9
9
  asString,
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import {
8
8
  asString,
9
9
  cleanOneLine,
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import {
8
8
  asString,
9
9
  cleanOneLine,
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import {
8
8
  asString,
9
9
  cleanOneLine,
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import {
8
8
  asString,
9
9
  cleanOneLine,
@@ -2,8 +2,8 @@ import {
2
2
  type AgentToolResult,
3
3
  type Theme,
4
4
  type ToolRenderResultOptions,
5
- } from '@mariozechner/pi-coding-agent';
6
- import { Text } from '@mariozechner/pi-tui';
5
+ } from '@earendil-works/pi-coding-agent';
6
+ import { Text } from '@earendil-works/pi-tui';
7
7
  import {
8
8
  asString,
9
9
  expandedJson,
@@ -1,8 +1,8 @@
1
1
  import { promises as fs } from 'node:fs';
2
2
  import { dirname, join } from 'node:path';
3
- import type { ExtensionAPI, ExtensionContext } from '@mariozechner/pi-coding-agent';
4
- import { getAgentDir, getSettingsListTheme } from '@mariozechner/pi-coding-agent';
5
- import { type SettingItem, SettingsList } from '@mariozechner/pi-tui';
3
+ import type { ExtensionAPI, ExtensionContext } from '@earendil-works/pi-coding-agent';
4
+ import { getAgentDir, getSettingsListTheme } from '@earendil-works/pi-coding-agent';
5
+ import { type SettingItem, SettingsList } from '@earendil-works/pi-tui';
6
6
  import { invalidateLinearResultRenderers, setDefaultJsonView } from './renderers/state';
7
7
 
8
8
  const SETTINGS_PATH = join(getAgentDir(), 'state', 'extensions', 'linear', 'tool-settings.json');
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import { withLinearAuth, linearGraphQL } from '../client';
4
4
  import { PaginationParams, paginationVariables, FilterParam, RawInputParam } from '../params';
5
5
  import { COMMENT_SELECTION } from '../selections';
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import { withLinearAuth, linearGraphQL, resolveTeamId } from '../client';
4
4
  import {
5
5
  PaginationParams,
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import { withLinearAuth, linearGraphQL } from '../client';
4
4
  import {
5
5
  PaginationParams,
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import { withLinearAuth, linearGraphQL, resolveTeamId } from '../client';
4
4
  import {
5
5
  PaginationParams,
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import { withLinearAuth, linearGraphQL, resolveIssueId } from '../client';
4
4
  import { PaginationParams, paginationVariables } from '../params';
5
5
  import { ISSUE_RELATION_SELECTION } from '../selections';
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import { withLinearAuth, linearGraphQL } from '../client';
4
4
  import { PaginationParams, paginationVariables, FilterParam } from '../params';
5
5
  import { WORKFLOW_STATE_SELECTION } from '../selections';
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import {
4
4
  withLinearAuth,
5
5
  linearGraphQL,
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import { withLinearAuth, linearGraphQL } from '../client';
4
4
  import { PaginationParams, paginationVariables, FilterParam, RawInputParam } from '../params';
5
5
  import { MILESTONE_SELECTION } from '../selections';
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import { withLinearAuth, linearGraphQL } from '../client';
4
4
  import { PaginationParams, paginationVariables, FilterParam, RawInputParam } from '../params';
5
5
  import { PROJECT_LABEL_SELECTION } from '../selections';
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import { withLinearAuth, linearGraphQL } from '../client';
4
4
  import { PaginationParams, paginationVariables } from '../params';
5
5
  import { PROJECT_RELATION_SELECTION } from '../selections';
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import { withLinearAuth, linearGraphQL } from '../client';
4
4
  import {
5
5
  PaginationParams,
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import { withLinearAuth, linearGraphQL } from '../client';
4
4
  import { PaginationParams, paginationVariables, FilterParam } from '../params';
5
5
  import { TEAM_SELECTION } from '../selections';
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import { withLinearAuth, linearGraphQL } from '../client';
4
4
  import { PaginationParams, paginationVariables, FilterParam, SortParam } from '../params';
5
5
  import { USER_SELECTION } from '../selections';
@@ -1,5 +1,5 @@
1
- import { defineTool } from '@mariozechner/pi-coding-agent';
2
- import { Type } from '@sinclair/typebox';
1
+ import { defineTool } from '@earendil-works/pi-coding-agent';
2
+ import { Type } from 'typebox';
3
3
  import { switchWorkspace, type WorkspaceCredentials } from '../client';
4
4
  import {
5
5
  renderLinearSwitchWorkspaceCall,
@@ -1,4 +1,4 @@
1
- import { Type } from '@sinclair/typebox';
1
+ import { Type } from 'typebox';
2
2
  import type { JsonObject } from './types';
3
3
 
4
4
  export function asString(value: unknown): string | undefined {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alasano/pi-linear",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Linear integration for pi with 55+ tools, multi-workspace auth, and per-tool settings",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -28,12 +28,13 @@
28
28
  "README.md"
29
29
  ],
30
30
  "peerDependencies": {
31
- "@mariozechner/pi-ai": "*",
32
- "@mariozechner/pi-coding-agent": "*",
33
- "@mariozechner/pi-tui": "*",
34
- "@sinclair/typebox": "*"
31
+ "@earendil-works/pi-coding-agent": ">=0.79.9",
32
+ "@earendil-works/pi-tui": ">=0.79.9",
33
+ "typebox": ">=1.1.38"
35
34
  },
36
35
  "devDependencies": {
37
- "@mariozechner/pi-coding-agent": "^0.65.0"
36
+ "@earendil-works/pi-coding-agent": "^0.79.9",
37
+ "@earendil-works/pi-tui": "^0.79.9",
38
+ "typebox": "^1.1.38"
38
39
  }
39
40
  }