@happyvertical/smrt-projects 0.60.18 → 0.61.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/AGENTS.md CHANGED
@@ -49,9 +49,10 @@ time-entry Svelte components are re-exported from smrt-timesheets too. See
49
49
  | Model | Key Fields | Notes |
50
50
  |-------|-----------|-------|
51
51
  | **Repository** | `owner`, `name`, `providerType`, `tokenConfigKey`, `archived`, `lastPushedAt`, `openPullRequestCount`, `ciState`, `latestReleaseTag/Date/Url`, `lastObservedAt`, `missingSince` | `sync()`, `getIssues()`, `getPullRequests()`. Unique per (tenant, provider, owner, name); independent of any project |
52
+ | **ProjectRepository** | `projectId` (FK), `repositoryId` (FK), `role` (primary\|shared-library\|infrastructure), `tenantId` | Many-to-many link, one row per (project, repository); table `project_repositories` |
52
53
  | **Issue** | `repositoryId` (optional FK), `projectId` (optional FK), `number`, `title`, `body`, `state`, `labels[]` | `incorporateFeedback()`, `rollback()`, `suggestLabels()` |
53
54
  | **PullRequest** | extends Issue + `headRef`, `baseRef`, `merged`, `draft` | STI on Issue table. `summarize()`, `merge()` |
54
- | **Project** | `projectId`, `title`, `statuses[]`, `statusFieldId` | GitHub Projects V2. `addItem()`, `moveItem()`, `analyzeHealth()` |
55
+ | **Project** | `projectId`, `title`, `kind` (client\|product\|internal, null until assigned), `statuses[]`, `statusFieldId` | GitHub Projects V2. `addItem()`, `moveItem()`, `analyzeHealth()` |
55
56
  | **ProjectQuestion** | polymorphic project target, `prompt`, `answer`, owner, `status`, `revision` | Owner question lifecycle; mutate through `ProjectGovernanceService`. |
56
57
  | **ProjectDecision** | polymorphic project target, options, `outcome`, `rationale`, owner, `status`, `revision` | Project choice lifecycle; mutate through `ProjectGovernanceService`. |
57
58
  | **ProjectGovernanceEvent** | question/decision target, actor, action, status, revision | Immutable lifecycle history. |
@@ -62,6 +63,8 @@ time-entry Svelte components are re-exported from smrt-timesheets too. See
62
63
 
63
64
  - **Organization sync (#4905)**: `RepositoryCollection.syncOrganization({ owner, tokenConfigKey, tenantId?, force?, throttleMs?, lister? })` lists the owner through `@happyvertical/repos` `listOrganizationRepositories` (needs >= 0.111.11), upserts one `Repository` per listed repo, sets `archived` and the activity snapshot (`lastPushedAt`, `openPullRequestCount`, `ciState` of the default-branch head, `latestRelease*`), and sets `missingSince` on same-owner rows no longer listed (cleared if they return; an empty listing withholds vanish detection). Throttled by the newest `lastObservedAt` (`SYNC_THROTTLE_MS`); `force` bypasses. Opens no transaction, so a failed run leaves earlier rows saved and a rerun converges. Works with a read-only token named by `tokenConfigKey`; run it from a scheduled job. `listActive()` hides archived and missing rows. Repositories outside the org are added with `getOrCreate(owner, name)` and are never touched by another owner's sync. The default `lister` is injectable; tests stub it. Project links (H2) attach by repository id and must not change the unique key. Scope: the ambient tenant (or `tenantId`); with no tenant context only null-tenant rows are touched. `lastObservedAt` is stamped only when a pass completes. Owner/name match case-insensitively. Migration: `db:migrate` adds the columns and a unique index `repositories_tenant_provider_owner_name_key`; databases that already hold duplicate (tenant, provider, owner, name) rows must dedupe them first or the index fails. NULL-tenant rows are not DB-unique (SQL NULL semantics); the service dedupes them.
64
65
 
66
+ - **Project kind and repository links (#4906)**: `Project.kind` is `client | product | internal` (`PROJECT_KINDS`), nullable and unset for existing projects; `db:migrate` adds one nullable column and needs no backfill. `ProjectRepositoryCollection` (a `SmrtJunction`, left `projectId`, right `repositoryId`) offers `link(projectId, repositoryId, role?)` (idempotent; relinking changes the role, never duplicates), `unlink()`, `repositoriesOfProject(projectId, repositories, role?)`, `projectsOfRepository(repositoryId, projects, role?)`, and `unassignedRepositories(repositories)` (no link at all). The helpers take the target collection so reads stay in the caller's tenant/db scope. Links attach by id and leave the Repository unique key alone. Migration: `db:migrate` creates `project_repositories` with unique `(project_id, repository_id)`.
67
+
65
68
  - **Repository is optional (project-native issues)**: an Issue/Label may carry only a `projectId`. `issue.hasRepository()` gates every provider call: `sync()` is a no-op, `close/addLabels/removeLabel/assign/addComment/rollback/incorporateFeedback(apply)` change local state only, `getComments()` reads stored `Comment` rows, `getRepository()` throws, `getUrl()` returns `''`. No unique key spans `repositoryId`+`number` (lookups only), so NULL repositories need no partial index. Schema change adds `issues.project_id`/`labels.project_id` and relaxes `repository_id` to nullable on both; `db:migrate` generates it from the manifest.
66
69
 
67
70
  - **Token config reference**: stores env var name (`tokenConfigKey: 'GITHUB_TOKEN'`), not the token itself. Resolved at runtime from `process.env` or `getModuleConfig()`
package/README.md CHANGED
@@ -60,6 +60,7 @@ await issue.rollback();
60
60
  | Export | Description |
61
61
  |--------|------------|
62
62
  | `Repository` | Git repository with provider integration. Methods: `sync()`, `getIssues()`, `getPullRequests()`, `createIssue()`, `createPullRequest()`, `summarizeActivity()` |
63
+ | `ProjectRepository` | Link between a `Project` and a `Repository` with a `role` (`primary`, `shared-library`, `infrastructure`); many-to-many |
63
64
  | `Issue` | Issue/ticket (STI base). Methods: `sync()`, `incorporateFeedback()`, `rollback()`, `suggestLabels()`, `close()`, `addLabels()`, `addComment()` |
64
65
  | `PullRequest` | Pull request (STI subclass of Issue). Methods: `sync()`, `summarize()`, `merge()`, `markReady()`, `convertToDraft()`, `requestReviewers()`, `findLinkedIssue()` |
65
66
  | `Project` | Project board (GitHub Projects V2). Methods: `sync()`, `addItem()`, `moveItem()`, `listItems()`, `updateItemStatus()`, `analyzeHealth()` |
@@ -74,6 +75,7 @@ await issue.rollback();
74
75
  | Export | Key Methods |
75
76
  |--------|------------|
76
77
  | `RepositoryCollection` | Standard CRUD |
78
+ | `ProjectRepositoryCollection` | `link()`, `unlink()`, `repositoriesOfProject()`, `projectsOfRepository()`, `unassignedRepositories()` |
77
79
  | `CommentCollection` | Standard CRUD (project-native issue comments) |
78
80
  | `IssueCollection` | `discover()`, `findByProject()`, `findByRepository()`, `findOpen()`, `findByLabel()`, `findByAssignee()`, `findNeedingReview()`, `findWithUnincorporatedFeedback()`, `batchSync()` |
79
81
  | `PullRequestCollection` | `discover()`, `findByRepository()`, `findOpen()`, `batchSync()` |
@@ -0,0 +1,34 @@
1
+ /**
2
+ * ProjectRepositoryCollection - links between projects and repositories (#4906).
3
+ *
4
+ * Helpers take the target collection so they read in the caller's tenant and
5
+ * database scope.
6
+ */
7
+ import { SmrtJunction } from '@happyvertical/smrt-core';
8
+ import type { Project } from "../models/Project.js";
9
+ import { ProjectRepository } from "../models/ProjectRepository.js";
10
+ import type { Repository } from "../models/Repository.js";
11
+ import { type ProjectRepositoryRole } from "../types.js";
12
+ import type { ProjectCollection } from "./Projects.js";
13
+ import type { RepositoryCollection } from "./Repositories.js";
14
+ export declare class ProjectRepositoryCollection extends SmrtJunction<ProjectRepository> {
15
+ static readonly _itemClass: typeof ProjectRepository;
16
+ protected leftField: string;
17
+ protected rightField: string;
18
+ protected sortField: null;
19
+ protected positionField: null;
20
+ /**
21
+ * Link a repository to a project, or change the role of an existing link.
22
+ * Keeps the link id stable and never duplicates a (project, repository) pair.
23
+ */
24
+ link(projectId: string, repositoryId: string, role?: ProjectRepositoryRole): Promise<ProjectRepository>;
25
+ /** Remove the link between a project and a repository, if any. */
26
+ unlink(projectId: string, repositoryId: string): Promise<void>;
27
+ /** Repositories linked to a project, optionally only those with `role`. */
28
+ repositoriesOfProject(projectId: string, repositories: RepositoryCollection, role?: ProjectRepositoryRole): Promise<Repository[]>;
29
+ /** Projects a repository is linked to, optionally only with `role`. */
30
+ projectsOfRepository(repositoryId: string, projects: ProjectCollection, role?: ProjectRepositoryRole): Promise<Project[]>;
31
+ /** Repositories with no project link at all. */
32
+ unassignedRepositories(repositories: RepositoryCollection): Promise<Repository[]>;
33
+ }
34
+ //# sourceMappingURL=ProjectRepositories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectRepositories.d.ts","sourceRoot":"","sources":["../../src/collections/ProjectRepositories.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,YAAY,EAAQ,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,OAA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ProjectGovernanceEvents.js";
10
10
  export { ProjectIntegrationAuditCollection } from "./ProjectIntegrationAudits.js";
11
11
  export { ProjectIntegrationCollection } from "./ProjectIntegrations.js";
12
12
  export { ProjectQuestionCollection } from "./ProjectQuestions.js";
13
+ export { ProjectRepositoryCollection } from "./ProjectRepositories.js";
13
14
  export { ProjectSpecificationCollection } from './ProjectSpecifications.js';
14
15
  export { ProjectCollection } from "./Projects.js";
15
16
  export { PullRequestCollection } from "./PullRequests.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/collections/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAY,CAAC;AAC/C,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAA+B,CAAC;AACpF,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAAuB,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,aAAU,CAAC;AAC3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAoB,CAAC;AAC/D,OAAO,EAAE,gCAAgC,EAAE,MAAM,8BAA2B,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,+BAA4B,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAAuB,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAoB,CAAC;AAC/D,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAY,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAgB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/collections/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAY,CAAC;AAC/C,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAA+B,CAAC;AACpF,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAAuB,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,aAAU,CAAC;AAC3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAoB,CAAC;AAC/D,OAAO,EAAE,gCAAgC,EAAE,MAAM,8BAA2B,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,+BAA4B,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAAuB,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAoB,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAAuB,CAAC;AACpE,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAY,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAgB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAgB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -52,6 +52,7 @@ export { ProjectGovernanceEventCollection } from "./collections/ProjectGovernanc
52
52
  export { ProjectIntegrationAuditCollection } from "./collections/ProjectIntegrationAudits.js";
53
53
  export { ProjectIntegrationCollection } from "./collections/ProjectIntegrations.js";
54
54
  export { ProjectQuestionCollection } from "./collections/ProjectQuestions.js";
55
+ export { ProjectRepositoryCollection } from "./collections/ProjectRepositories.js";
55
56
  export { ProjectSpecificationCollection } from './collections/ProjectSpecifications.js';
56
57
  export { ProjectCollection } from "./collections/Projects.js";
57
58
  export { PullRequestCollection } from "./collections/PullRequests.js";
@@ -70,6 +71,7 @@ export { ProjectGovernanceEvent, type ProjectGovernanceEventOptions, } from "./m
70
71
  export { ProjectIntegration, type ProjectIntegrationOptions, } from "./models/ProjectIntegration.js";
71
72
  export { ProjectIntegrationAudit, type ProjectIntegrationAuditOptions, } from "./models/ProjectIntegrationAudit.js";
72
73
  export { ProjectQuestion, type ProjectQuestionOptions, } from "./models/ProjectQuestion.js";
74
+ export { ProjectRepository, type ProjectRepositoryOptions, } from "./models/ProjectRepository.js";
73
75
  export { ProjectSpecification, type ProjectSpecificationOptions, } from './models/ProjectSpecification.js';
74
76
  export { PullRequest, type PullRequestOptions } from "./models/PullRequest.js";
75
77
  export { Repository, type RepositoryOptions } from "./models/Repository.js";
@@ -83,6 +85,7 @@ export { type RepositoryClientScope, withRepositoryClient, } from "./repository-
83
85
  export * from './services/index.js';
84
86
  export { ParticipantDevelopmentRequestConflictError, type ParticipantDevelopmentRequestInput, ParticipantDevelopmentRequestService, } from './services/participant-development-request-service.js';
85
87
  export * from './services/project-specification-service.js';
86
- export type { AssistanceClassification, Branch, CreateIssueInput, CreatePRInput, DeliveryEventType, DevelopmentRequestEvidence, DevelopmentRequestOrigin, DevelopmentRequestStatus, DevelopmentRequestTransitionInput, DevelopmentRequestType, DevelopmentRequestVisibility, DevelopmentTriageDecision, IncorporateFeedbackOptions, IncorporateFeedbackResult, IProject, IRepository, ItemFilters, ManagedAssistanceRequestInput, ManagedDevelopmentRequestCreateInput, MergeMethod, ProjectConfig, ProjectField, ProjectFieldOption, ProjectIntegrationAuditAction, ProjectIntegrationCapability, ProjectIntegrationStatus, ProjectItem, ProjectProviderType, ProjectStatus, RepositoryCiState, RepositoryConfig, RepositoryProviderType, SDKComment, SDKIssue, SDKLabel, SDKProject, SDKPullRequest, SDKRepository, SearchFilters, ServiceEvidence, ServiceParticipantKind, ServiceTimeEntrySource, ServiceTimeEntryStatus, SyncOptions, SyncStatus, UpdateIssueInput, User, } from "./types.js";
88
+ export type { AssistanceClassification, Branch, CreateIssueInput, CreatePRInput, DeliveryEventType, DevelopmentRequestEvidence, DevelopmentRequestOrigin, DevelopmentRequestStatus, DevelopmentRequestTransitionInput, DevelopmentRequestType, DevelopmentRequestVisibility, DevelopmentTriageDecision, IncorporateFeedbackOptions, IncorporateFeedbackResult, IProject, IRepository, ItemFilters, ManagedAssistanceRequestInput, ManagedDevelopmentRequestCreateInput, MergeMethod, ProjectConfig, ProjectField, ProjectFieldOption, ProjectIntegrationAuditAction, ProjectIntegrationCapability, ProjectIntegrationStatus, ProjectItem, ProjectKind, ProjectProviderType, ProjectRepositoryRole, ProjectStatus, RepositoryCiState, RepositoryConfig, RepositoryProviderType, SDKComment, SDKIssue, SDKLabel, SDKProject, SDKPullRequest, SDKRepository, SearchFilters, ServiceEvidence, ServiceParticipantKind, ServiceTimeEntrySource, ServiceTimeEntryStatus, SyncOptions, SyncStatus, UpdateIssueInput, User, } from "./types.js";
89
+ export { PROJECT_KINDS, PROJECT_REPOSITORY_ROLES } from "./types.js";
87
90
  export { PROJECTS_MODULE_META, PROJECTS_UI_SLOTS } from "./ui.js";
88
91
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAKH,OAAO,wBAAwB,CAAC;AAGhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAAwB,CAAC;AAC3D,OAAO,EAAE,mCAAmC,EAAE,MAAM,8CAA2C,CAAC;AAChG,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAmC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAsB,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAgC,CAAC;AAC3E,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAAuC,CAAC;AACzF,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAAwC,CAAC;AAC3F,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAmC,CAAC;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAgC,CAAC;AAC3E,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAw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