@devpad/api 2.3.6 → 2.4.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.
@@ -157,7 +157,7 @@ var goal = sqliteTable("goal", {
157
157
  });
158
158
  var GRAPH_DEPTH_CAP = 8;
159
159
  var GRAPH_CHILDREN_CAP = 100;
160
- var TASK_KINDS = ["task", "phase", "approval"];
160
+ var TASK_KINDS = ["task", "phase", "approval", "milestone", "goal"];
161
161
  var COMPLETION_POLICIES = ["manual", "auto_children"];
162
162
  var COMPLETED_VIA_VALUES = ["user", "api", "policy"];
163
163
  var TASK_LINK_KINDS = ["blocks", "relates_to", "references", "discovered_from", "tracks_metric"];
@@ -898,6 +898,10 @@ var upsert_task_link = z.object({
898
898
  ref: external_ref.nullable().optional(),
899
899
  note: z.string().nullable().optional()
900
900
  });
901
+ var scan_diff_proposal = z.object({
902
+ parent_id: z.string().nullable(),
903
+ proposing_task_id: z.string().nullable()
904
+ });
901
905
  var apply_op = z.discriminatedUnion("op", [
902
906
  z.object({
903
907
  op: z.literal("create"),
@@ -1121,6 +1125,7 @@ export {
1121
1125
  external_ref,
1122
1126
  task_link_kind,
1123
1127
  upsert_task_link,
1128
+ scan_diff_proposal,
1124
1129
  apply_op,
1125
1130
  apply_request,
1126
1131
  claim_request,
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { G as PostListParams, T as PostsResponse, x as Post, D as PostCreate, Q as PostUpdate, Z as VersionInfo, y as PostContent, C as Category, k as CategoryCreate, A as AccessKey } from './types.d-DbgtG-w1.js';
2
- import { ai as Profile, u as CreateProfileInput, aw as UpdateProfileInput, aj as ProfileFilter, c as AddFilterInput, aq as Timeline, A as Account, ae as PlatformSettings } from './types.d-CsYeI1BE.js';
2
+ import { ai as Profile, u as CreateProfileInput, aw as UpdateProfileInput, aj as ProfileFilter, c as AddFilterInput, aq as Timeline, A as Account, ae as PlatformSettings } from './types.d-CpUFC2tW.js';
3
3
  import { z } from 'zod';
4
- import { c as ApiKey, O as Project, aA as UpsertProject, G as GetConfigResult, a0 as SaveConfigRequest, al as TodoUpdate, H as HistoryAction, M as Milestone, o as Goal, p as Hook, v as HookTrigger, r as HookActionPublic, as as UpsertHook, t as HookDelivery, ah as TaskWithDetails, aD as UpsertTodo, aB as UpsertTag, aa as Task, ad as TaskLink, C as ClaimRequest, m as DoneRequest, a as AdvanceStageRequest, aC as UpsertTaskLink, f as ApplyRequest, e as ApplyOp, a9 as TagWithTypedColor, l as Document, S as PushDocRequest, ak as ThreadMarker, i as CreateThreadRequest, b as AnnotationThread, T as PushInterfaceReportRequest, y as InterfaceDiffClass, a3 as Signoff, W as RequestCheckpointRequest, k as DecideCheckpointRequest, X as ReviewItem, D as DashboardResponse, K as PipelineRun, L as PipelineStageEvent, B as PipelineGrant, J as PipelinePackage, P as PipelineAnalysisTemplate, F as PipelineOidcTrust } from './types.d-CEmFf0kh.js';
5
- export { Q as ProjectConfig } from './types.d-CEmFf0kh.js';
4
+ import { c as ApiKey, O as Project, aB as UpsertProject, G as GetConfigResult, a0 as SaveConfigRequest, am as TodoUpdate, H as HistoryAction, M as Milestone, o as Goal, p as Hook, v as HookTrigger, r as HookActionPublic, at as UpsertHook, t as HookDelivery, ai as TaskWithDetails, aE as UpsertTodo, aC as UpsertTag, ab as Task, ae as TaskLink, C as ClaimRequest, m as DoneRequest, a as AdvanceStageRequest, aD as UpsertTaskLink, f as ApplyRequest, e as ApplyOp, aa as TagWithTypedColor, l as Document, S as PushDocRequest, al as ThreadMarker, i as CreateThreadRequest, b as AnnotationThread, T as PushInterfaceReportRequest, y as InterfaceDiffClass, a4 as Signoff, W as RequestCheckpointRequest, k as DecideCheckpointRequest, X as ReviewItem, D as DashboardResponse, K as PipelineRun, L as PipelineStageEvent, B as PipelineGrant, J as PipelinePackage, P as PipelineAnalysisTemplate, F as PipelineOidcTrust } from './types.d-BIJAwHaZ.js';
5
+ export { Q as ProjectConfig } from './types.d-BIJAwHaZ.js';
6
6
  import { Result } from '@f0rbit/corpus';
7
7
  export { Result, err, ok } from '@f0rbit/corpus';
8
- import { H as HookDeliveryStatus, C as CompletedVia, i as StageEventKind } from './schema.d-7jUA2Hd2.js';
8
+ import { H as HookDeliveryStatus, C as CompletedVia, i as StageEventKind } from './schema.d-CaVQ-Ate.js';
9
9
  import 'drizzle-orm';
10
10
  import './media.d-R87HGuRp.js';
11
11
  import 'drizzle-orm/sqlite-core';
@@ -704,6 +704,35 @@ type PushInterfaceReportResult = {
704
704
  classification: InterfaceDiffClass;
705
705
  signoff: Signoff | null;
706
706
  };
707
+ type FoldDiff = {
708
+ kind: "missing_row";
709
+ entity: "milestone" | "goal";
710
+ id: string;
711
+ } | {
712
+ kind: "field_mismatch";
713
+ entity: "milestone" | "goal";
714
+ id: string;
715
+ field: string;
716
+ expected: unknown;
717
+ actual: unknown;
718
+ } | {
719
+ kind: "completion_mismatch";
720
+ entity: "milestone" | "goal";
721
+ id: string;
722
+ expected_finished: boolean;
723
+ actual_completed: boolean;
724
+ } | {
725
+ kind: "ordering_violation";
726
+ entity: "milestone";
727
+ id: string;
728
+ after_id: string;
729
+ };
730
+ type FoldVerifyReport = {
731
+ milestone_count: number;
732
+ goal_count: number;
733
+ diffs: FoldDiff[];
734
+ clean: boolean;
735
+ };
707
736
  type ReadyResponse = {
708
737
  items: Task[];
709
738
  next_cursor: string | null;
@@ -1353,6 +1382,10 @@ declare class ApiClient {
1353
1382
  sessions: unknown[];
1354
1383
  }>>;
1355
1384
  };
1385
+ /** v2.4 (task A5.3) — the fold's dual-read verification verb. */
1386
+ readonly admin: {
1387
+ verifyFold: () => Promise<ApiResult<FoldVerifyReport>>;
1388
+ };
1356
1389
  readonly user: {
1357
1390
  /**
1358
1391
  * Get the authenticated user's identity (id, name, github_id, task_view).
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  upsert_project,
17
17
  upsert_task_link,
18
18
  upsert_todo
19
- } from "./chunk-KRYLGBPJ.js";
19
+ } from "./chunk-HWPYBI52.js";
20
20
  import {
21
21
  CategoryCreateSchema,
22
22
  PostCreateSchema,
@@ -1167,6 +1167,10 @@ var ApiClient2 = class {
1167
1167
  );
1168
1168
  })
1169
1169
  };
1170
+ /** v2.4 (task A5.3) — the fold's dual-read verification verb. */
1171
+ this.admin = {
1172
+ verifyFold: () => wrap(() => this.clients.admin.get("/admin/verify-fold"))
1173
+ };
1170
1174
  this.user = {
1171
1175
  /**
1172
1176
  * Get the authenticated user's identity (id, name, github_id, task_view).
@@ -1643,7 +1647,8 @@ var ApiClient2 = class {
1643
1647
  hooks: new ApiClient({ ...clientOptions, category: "hooks" }),
1644
1648
  docs: new ApiClient({ ...clientOptions, category: "docs" }),
1645
1649
  signoffs: new ApiClient({ ...clientOptions, category: "signoffs" }),
1646
- reviews: new ApiClient({ ...clientOptions, category: "reviews" })
1650
+ reviews: new ApiClient({ ...clientOptions, category: "reviews" }),
1651
+ admin: new ApiClient({ ...clientOptions, category: "admin" })
1647
1652
  };
1648
1653
  }
1649
1654
  /**
@@ -1936,6 +1941,13 @@ var tools = {
1936
1941
  inputSchema: github_branches,
1937
1942
  execute: async (client, input) => unwrap(await client.github.branches(input.owner, input.repo))
1938
1943
  }),
1944
+ // Admin (task A5.3) — v2.4 fold dual-read verification
1945
+ devpad_admin_verify_fold: define_tool({
1946
+ name: "devpad_admin_verify_fold",
1947
+ description: "Compare the frozen milestone/goal tables against their task-row projections (the v2.4 fold) for the authenticated account and report any divergence",
1948
+ inputSchema: z2.object({}),
1949
+ execute: async (client) => unwrap(await client.admin.verifyFold())
1950
+ }),
1939
1951
  // Additional project operations
1940
1952
  devpad_projects_delete: define_tool({
1941
1953
  name: "devpad_projects_delete",
@@ -3788,7 +3788,7 @@ declare const fullSchema: {
3788
3788
  }>;
3789
3789
  GRAPH_DEPTH_CAP: 8;
3790
3790
  GRAPH_CHILDREN_CAP: 100;
3791
- TASK_KINDS: readonly ["task", "phase", "approval"];
3791
+ TASK_KINDS: readonly ["task", "phase", "approval", "milestone", "goal"];
3792
3792
  COMPLETION_POLICIES: readonly ["manual", "auto_children"];
3793
3793
  COMPLETED_VIA_VALUES: readonly ["user", "api", "policy"];
3794
3794
  TASK_LINK_KINDS: readonly ["blocks", "relates_to", "references", "discovered_from", "tracks_metric"];
@@ -4066,14 +4066,14 @@ declare const fullSchema: {
4066
4066
  tableName: "task";
4067
4067
  dataType: "string";
4068
4068
  columnType: "SQLiteText";
4069
- data: "task" | "phase" | "approval";
4069
+ data: "milestone" | "goal" | "task" | "phase" | "approval";
4070
4070
  driverParam: string;
4071
4071
  notNull: true;
4072
4072
  hasDefault: true;
4073
4073
  isPrimaryKey: false;
4074
4074
  isAutoincrement: false;
4075
4075
  hasRuntimeDefault: false;
4076
- enumValues: ["task", "phase", "approval"];
4076
+ enumValues: ["task", "phase", "approval", "milestone", "goal"];
4077
4077
  baseColumn: never;
4078
4078
  identity: undefined;
4079
4079
  generated: undefined;
@@ -1,6 +1,6 @@
1
1
  export { A as ApiError, a as ApprovalChannelError, b as AuthExpiredError, B as BadRequestError, c as BaseError, C as ConflictError, d as CronError, D as DatabaseError, E as EncryptionError, e as ErrorContext, f as ErrorLogEntry, F as ForbiddenError, G as GithubError, N as NetworkError, g as NotFoundError, P as ParseError, h as ProtectedError, i as ProviderError, R as RateLimitedError, S as ScanError, j as ServiceError, k as StoreError, U as UnauthorizedError, V as ValidationError, l as ValidationFieldError, m as apiError, n as approvalChannel, o as authExpired, p as badRequest, q as configureErrorLogging, r as conflict, s as dbError, t as encryptionError, u as errors, v as forbidden, w as githubError, x as isApiError, y as isApprovalChannelError, z as isAuthExpiredError, H as isBadRequestError, I as isConflictError, J as isDatabaseError, K as isEncryptionError, L as isForbiddenError, M as isGithubError, O as isNetworkError, Q as isNotFoundError, T as isParseError, W as isProtectedError, X as isRateLimitedError, Y as isRetryableError, Z as isScanError, _ as isServiceError, $ as isStoreError, a0 as isUnauthorizedError, a1 as isValidationError, a2 as isValidationFieldError, a3 as networkError, a4 as notFound, a5 as parseError, a6 as protectedEntity, a7 as rateLimited, a8 as scanError, a9 as storeError, aa as unauthorized, ab as validation, ac as validationFieldError } from '../errors.d-BUNZEN7j.js';
2
- export { A as Action, a as AdvanceStageRequest, b as AnnotationThread, c as ApiKey, d as ApplyLog, e as ApplyOp, f as ApplyRequest, C as ClaimRequest, g as CodebaseTask, h as ConfigSchemaType, i as CreateThreadRequest, D as DashboardResponse, j as DashboardWindowQuery, k as DecideCheckpointRequest, l as Document, m as DoneRequest, E as ExternalRef, G as GetConfigResult, n as GithubWebhookEvent, o as Goal, H as HistoryAction, p as Hook, q as HookActionInput, r as HookActionPublic, s as HookActionStored, t as HookDelivery, u as HookSelector, v as HookTrigger, I as INTERFACE_DIFF_CLASSES, w as IgnorePath, x as InsertPipelineStageEvent, y as InterfaceDiffClass, M as Milestone, N as Nullable, P as PipelineAnalysisTemplate, z as PipelineApproval, B as PipelineGrant, F as PipelineOidcTrust, J as PipelinePackage, K as PipelineRun, L as PipelineStageEvent, O as Project, Q as ProjectConfig, R as ProjectWithTasks, S as PushDocRequest, T as PushInterfaceReportRequest, U as REVIEW_ITEM_KINDS, V as ReplyThreadRequest, W as RequestCheckpointRequest, X as ReviewItem, Y as ReviewItemKind, Z as ReviewsPendingResponse, _ as RolloutShapeZ, $ as RunKindZ, a0 as SaveConfigRequest, a1 as ScanStatus, a2 as Session, a3 as Signoff, a4 as TAG_COLOURS, a5 as Tag, a6 as TagColor, a7 as TagConfig, a8 as TagWithColor, a9 as TagWithTypedColor, aa as Task, ab as TaskEvent, ac as TaskEventPayload, ad as TaskLink, ae as TaskRollup, af as TaskTag, ag as TaskView, ah as TaskWithDetails, ai as ThreadAnchor, aj as ThreadEntry, ak as ThreadMarker, al as TodoUpdate, am as ToggleBlockingRequest, an as TrackerResult, ao as UpdateAction, ap as UpdateData, aq as UpdateUser, ar as UpsertGoal, as as UpsertHook, at as UpsertMilestone, au as UpsertPipelineAnalysisTemplate, av as UpsertPipelineApproval, aw as UpsertPipelineGrant, ax as UpsertPipelineOidcTrust, ay as UpsertPipelinePackage, az as UpsertPipelineRun, aA as UpsertProject, aB as UpsertTag, aC as UpsertTaskLink, aD as UpsertTodo, aE as User, aF as WebhookEventBody, aG as advance_stage_request, aH as apply_op, aI as apply_request, aJ as approval_decision, aK as claim_request, aL as config_schema, aM as create_thread_request, aN as dashboard_response, aO as dashboard_window_query, aP as decide_checkpoint_request, aQ as document_kind, aR as done_request, aS as external_ref, aT as forced_atomic_reason, aU as gate_descriptor, aV as grant_scope, aW as hook_action_input, aX as hook_action_public, aY as hook_action_stored, aZ as hook_selector, a_ as hook_trigger, a$ as insert_pipeline_stage_event, b0 as pipeline_oidc_provider, b1 as project_config, b2 as push_doc_request, b3 as push_interface_report_request, b4 as reply_thread_request, b5 as request_checkpoint_request, b6 as resolved_gates, b7 as resolved_rollout, b8 as review_item, b9 as reviews_pending_response, ba as rollout_shape, bb as rollout_stage, bc as run_kind, bd as run_status, be as save_config_request, bf as save_tags_request, bg as sdlc_stage, bh as signoff_checkpoint, bi as signoff_subject_kind, bj as stage_event_kind, bk as task_event_actor, bl as task_event_payload, bm as task_link_kind, bn as thread_anchor, bo as thread_entry, bp as thread_marker, bq as thread_status, br as toggle_blocking_request, bs as update_action, bt as update_user, bu as upsert_goal, bv as upsert_hook, bw as upsert_milestone, bx as upsert_pipeline_analysis_template, by as upsert_pipeline_approval, bz as upsert_pipeline_grant, bA as upsert_pipeline_oidc_trust, bB as upsert_pipeline_package, bC as upsert_pipeline_run, bD as upsert_project, bE as upsert_tag, bF as upsert_task_link, bG as upsert_todo, bH as webhook_event_body } from '../types.d-CEmFf0kh.js';
3
- export { a as ApprovalDecision, C as CompletedVia, b as CompletionPolicy, D as DocumentKind, c as DocumentStatus, F as ForcedAtomicReason, G as GRAPH_CHILDREN_CAP, d as GRAPH_DEPTH_CAP, H as HookDeliveryStatus, P as PipelineOidcProvider, R as RolloutShape, e as RunStatus, S as SdlcStage, f as SignoffCheckpoint, g as SignoffDecision, h as SignoffSubjectKind, i as StageEventKind, T as TaskEventActor, j as TaskEventDispatchStatus, k as TaskEventKind, l as TaskKind, m as TaskLinkKind, n as ThreadStatus } from '../schema.d-7jUA2Hd2.js';
2
+ export { A as Action, a as AdvanceStageRequest, b as AnnotationThread, c as ApiKey, d as ApplyLog, e as ApplyOp, f as ApplyRequest, C as ClaimRequest, g as CodebaseTask, h as ConfigSchemaType, i as CreateThreadRequest, D as DashboardResponse, j as DashboardWindowQuery, k as DecideCheckpointRequest, l as Document, m as DoneRequest, E as ExternalRef, G as GetConfigResult, n as GithubWebhookEvent, o as Goal, H as HistoryAction, p as Hook, q as HookActionInput, r as HookActionPublic, s as HookActionStored, t as HookDelivery, u as HookSelector, v as HookTrigger, I as INTERFACE_DIFF_CLASSES, w as IgnorePath, x as InsertPipelineStageEvent, y as InterfaceDiffClass, M as Milestone, N as Nullable, P as PipelineAnalysisTemplate, z as PipelineApproval, B as PipelineGrant, F as PipelineOidcTrust, J as PipelinePackage, K as PipelineRun, L as PipelineStageEvent, O as Project, Q as ProjectConfig, R as ProjectWithTasks, S as PushDocRequest, T as PushInterfaceReportRequest, U as REVIEW_ITEM_KINDS, V as ReplyThreadRequest, W as RequestCheckpointRequest, X as ReviewItem, Y as ReviewItemKind, Z as ReviewsPendingResponse, _ as RolloutShapeZ, $ as RunKindZ, a0 as SaveConfigRequest, a1 as ScanDiffProposal, a2 as ScanStatus, a3 as Session, a4 as Signoff, a5 as TAG_COLOURS, a6 as Tag, a7 as TagColor, a8 as TagConfig, a9 as TagWithColor, aa as TagWithTypedColor, ab as Task, ac as TaskEvent, ad as TaskEventPayload, ae as TaskLink, af as TaskRollup, ag as TaskTag, ah as TaskView, ai as TaskWithDetails, aj as ThreadAnchor, ak as ThreadEntry, al as ThreadMarker, am as TodoUpdate, an as ToggleBlockingRequest, ao as TrackerResult, ap as UpdateAction, aq as UpdateData, ar as UpdateUser, as as UpsertGoal, at as UpsertHook, au as UpsertMilestone, av as UpsertPipelineAnalysisTemplate, aw as UpsertPipelineApproval, ax as UpsertPipelineGrant, ay as UpsertPipelineOidcTrust, az as UpsertPipelinePackage, aA as UpsertPipelineRun, aB as UpsertProject, aC as UpsertTag, aD as UpsertTaskLink, aE as UpsertTodo, aF as User, aG as WebhookEventBody, aH as advance_stage_request, aI as apply_op, aJ as apply_request, aK as approval_decision, aL as claim_request, aM as config_schema, aN as create_thread_request, aO as dashboard_response, aP as dashboard_window_query, aQ as decide_checkpoint_request, aR as document_kind, aS as done_request, aT as external_ref, aU as forced_atomic_reason, aV as gate_descriptor, aW as grant_scope, aX as hook_action_input, aY as hook_action_public, aZ as hook_action_stored, a_ as hook_selector, a$ as hook_trigger, b0 as insert_pipeline_stage_event, b1 as pipeline_oidc_provider, b2 as project_config, b3 as push_doc_request, b4 as push_interface_report_request, b5 as reply_thread_request, b6 as request_checkpoint_request, b7 as resolved_gates, b8 as resolved_rollout, b9 as review_item, ba as reviews_pending_response, bb as rollout_shape, bc as rollout_stage, bd as run_kind, be as run_status, bf as save_config_request, bg as save_tags_request, bh as scan_diff_proposal, bi as sdlc_stage, bj as signoff_checkpoint, bk as signoff_subject_kind, bl as stage_event_kind, bm as task_event_actor, bn as task_event_payload, bo as task_link_kind, bp as thread_anchor, bq as thread_entry, br as thread_marker, bs as thread_status, bt as toggle_blocking_request, bu as update_action, bv as update_user, bw as upsert_goal, bx as upsert_hook, by as upsert_milestone, bz as upsert_pipeline_analysis_template, bA as upsert_pipeline_approval, bB as upsert_pipeline_grant, bC as upsert_pipeline_oidc_trust, bD as upsert_pipeline_package, bE as upsert_pipeline_run, bF as upsert_project, bG as upsert_tag, bH as upsert_task_link, bI as upsert_todo, bJ as webhook_event_body } from '../types.d-BIJAwHaZ.js';
3
+ export { a as ApprovalDecision, C as CompletedVia, b as CompletionPolicy, D as DocumentKind, c as DocumentStatus, F as ForcedAtomicReason, G as GRAPH_CHILDREN_CAP, d as GRAPH_DEPTH_CAP, H as HookDeliveryStatus, P as PipelineOidcProvider, R as RolloutShape, e as RunStatus, S as SdlcStage, f as SignoffCheckpoint, g as SignoffDecision, h as SignoffSubjectKind, i as StageEventKind, T as TaskEventActor, j as TaskEventDispatchStatus, k as TaskEventKind, l as TaskKind, m as TaskLinkKind, n as ThreadStatus } from '../schema.d-CaVQ-Ate.js';
4
4
  import '@f0rbit/corpus';
5
5
  import 'drizzle-orm';
6
6
  import 'zod';
@@ -41,6 +41,7 @@ import {
41
41
  run_status,
42
42
  save_config_request,
43
43
  save_tags_request,
44
+ scan_diff_proposal,
44
45
  sdlc_stage,
45
46
  signoff_checkpoint,
46
47
  signoff_subject_kind,
@@ -69,7 +70,7 @@ import {
69
70
  upsert_task_link,
70
71
  upsert_todo,
71
72
  webhook_event_body
72
- } from "../chunk-KRYLGBPJ.js";
73
+ } from "../chunk-HWPYBI52.js";
73
74
  import {
74
75
  apiError,
75
76
  approvalChannel,
@@ -211,6 +212,7 @@ export {
211
212
  save_config_request,
212
213
  save_tags_request,
213
214
  scanError,
215
+ scan_diff_proposal,
214
216
  sdlc_stage,
215
217
  signoff_checkpoint,
216
218
  signoff_subject_kind,
@@ -1,11 +1,11 @@
1
1
  export { A as ApiError, a as ApprovalChannelError, b as AuthExpiredError, B as BadRequestError, c as BaseError, C as ConflictError, d as CronError, D as DatabaseError, E as EncryptionError, e as ErrorContext, f as ErrorLogEntry, F as ForbiddenError, G as GithubError, N as NetworkError, g as NotFoundError, P as ParseError, h as ProtectedError, i as ProviderError, R as RateLimitedError, S as ScanError, j as ServiceError, k as StoreError, U as UnauthorizedError, V as ValidationError, l as ValidationFieldError, m as apiError, n as approvalChannel, o as authExpired, p as badRequest, q as configureErrorLogging, r as conflict, s as dbError, t as encryptionError, u as errors, v as forbidden, w as githubError, x as isApiError, y as isApprovalChannelError, z as isAuthExpiredError, H as isBadRequestError, I as isConflictError, J as isDatabaseError, K as isEncryptionError, L as isForbiddenError, M as isGithubError, O as isNetworkError, Q as isNotFoundError, T as isParseError, W as isProtectedError, X as isRateLimitedError, Y as isRetryableError, Z as isScanError, _ as isServiceError, $ as isStoreError, a0 as isUnauthorizedError, a1 as isValidationError, a2 as isValidationFieldError, a3 as networkError, a4 as notFound, a5 as parseError, a6 as protectedEntity, a7 as rateLimited, a8 as scanError, a9 as storeError, aa as unauthorized, ab as validation, ac as validationFieldError } from '../errors.d-BUNZEN7j.js';
2
- export { A as Account, a as AccountSetting, b as AccountWithUser, c as AddFilterInput, d as AddFilterSchema, e as ApiKey, B as BlueskyAuthor, f as BlueskyAuthorSchema, g as BlueskyFeedItem, h as BlueskyFeedItemSchema, i as BlueskyPost, j as BlueskyPostSchema, k as BlueskyRaw, l as BlueskyRawSchema, m as BlueskySettings, n as BlueskySettingsSchema, C as CommentPayload, o as CommentPayloadSchema, p as CommitGroup, q as CommitGroupSchema, r as CommitPayload, s as CommitPayloadSchema, t as CorpusPath, u as CreateProfileInput, v as CreateProfileSchema, D as DateGroup, w as DateGroupSchema, x as DevpadRaw, y as DevpadRawSchema, z as DevpadSettings, E as DevpadSettingsSchema, F as DevpadTask, G as DevpadTaskSchema, H as FilterKey, I as FilterKeySchema, J as FilterType, K as FilterTypeSchema, L as GitHubBaseEvent, M as GitHubBaseEventSchema, N as GitHubEvent, O as GitHubEventSchema, P as GitHubExtendedCommit, Q as GitHubExtendedCommitSchema, R as GitHubPullRequest, S as GitHubPullRequestSchema, T as GitHubRaw, U as GitHubRawSchema, V as GitHubRepo, W as GitHubRepoSchema, X as GitHubSettings, Y as GitHubSettingsSchema, Z as MULTI_STORE_PLATFORMS, _ as MultiStorePlatform, $ as NewAccount, a0 as NewAccountSetting, a1 as NewApiKey, a2 as NewPlatformCredential, a3 as NewProfile, a4 as NewProfileFilter, a5 as NewRateLimit, a6 as PLATFORMS, a7 as PRCommit, a8 as PRCommitSchema, a9 as Payload, aa as PayloadSchema, ab as Platform, ac as PlatformCredential, ad as PlatformSchema, ae as PlatformSettings, af as PlatformSettingsSchemaMap, ag as PostPayload, ah as PostPayloadSchema, ai as Profile, aj as ProfileFilter, ak as PullRequestPayload, al as PullRequestPayloadSchema, am as RateLimit, an as SlugSchema, ao as TaskPayload, ap as TaskPayloadSchema, aq as Timeline, ar as TimelineItem, as as TimelineItemSchema, at as TimelineSchema, au as TimelineType, av as TimelineTypeSchema, aw as UpdateProfileInput, ax as UpdateProfileSchema, ay as VideoPayload, az as VideoPayloadSchema, aA as YouTubeRaw, aB as YouTubeRawSchema, aC as YouTubeSettings, aD as YouTubeSettingsSchema, aE as YouTubeThumbnail, aF as YouTubeThumbnailSchema, aG as YouTubeVideo, aH as YouTubeVideoSchema, aI as isMultiStorePlatform } from '../types.d-CsYeI1BE.js';
2
+ export { A as Account, a as AccountSetting, b as AccountWithUser, c as AddFilterInput, d as AddFilterSchema, e as ApiKey, B as BlueskyAuthor, f as BlueskyAuthorSchema, g as BlueskyFeedItem, h as BlueskyFeedItemSchema, i as BlueskyPost, j as BlueskyPostSchema, k as BlueskyRaw, l as BlueskyRawSchema, m as BlueskySettings, n as BlueskySettingsSchema, C as CommentPayload, o as CommentPayloadSchema, p as CommitGroup, q as CommitGroupSchema, r as CommitPayload, s as CommitPayloadSchema, t as CorpusPath, u as CreateProfileInput, v as CreateProfileSchema, D as DateGroup, w as DateGroupSchema, x as DevpadRaw, y as DevpadRawSchema, z as DevpadSettings, E as DevpadSettingsSchema, F as DevpadTask, G as DevpadTaskSchema, H as FilterKey, I as FilterKeySchema, J as FilterType, K as FilterTypeSchema, L as GitHubBaseEvent, M as GitHubBaseEventSchema, N as GitHubEvent, O as GitHubEventSchema, P as GitHubExtendedCommit, Q as GitHubExtendedCommitSchema, R as GitHubPullRequest, S as GitHubPullRequestSchema, T as GitHubRaw, U as GitHubRawSchema, V as GitHubRepo, W as GitHubRepoSchema, X as GitHubSettings, Y as GitHubSettingsSchema, Z as MULTI_STORE_PLATFORMS, _ as MultiStorePlatform, $ as NewAccount, a0 as NewAccountSetting, a1 as NewApiKey, a2 as NewPlatformCredential, a3 as NewProfile, a4 as NewProfileFilter, a5 as NewRateLimit, a6 as PLATFORMS, a7 as PRCommit, a8 as PRCommitSchema, a9 as Payload, aa as PayloadSchema, ab as Platform, ac as PlatformCredential, ad as PlatformSchema, ae as PlatformSettings, af as PlatformSettingsSchemaMap, ag as PostPayload, ah as PostPayloadSchema, ai as Profile, aj as ProfileFilter, ak as PullRequestPayload, al as PullRequestPayloadSchema, am as RateLimit, an as SlugSchema, ao as TaskPayload, ap as TaskPayloadSchema, aq as Timeline, ar as TimelineItem, as as TimelineItemSchema, at as TimelineSchema, au as TimelineType, av as TimelineTypeSchema, aw as UpdateProfileInput, ax as UpdateProfileSchema, ay as VideoPayload, az as VideoPayloadSchema, aA as YouTubeRaw, aB as YouTubeRawSchema, aC as YouTubeSettings, aD as YouTubeSettingsSchema, aE as YouTubeThumbnail, aF as YouTubeThumbnailSchema, aG as YouTubeVideo, aH as YouTubeVideoSchema, aI as isMultiStorePlatform } from '../types.d-CpUFC2tW.js';
3
3
  import { z } from 'zod';
4
4
  import '@f0rbit/corpus';
5
5
  import 'drizzle-orm';
6
6
  import '../media.d-R87HGuRp.js';
7
7
  import 'drizzle-orm/sqlite-core';
8
- import '../schema.d-7jUA2Hd2.js';
8
+ import '../schema.d-CaVQ-Ate.js';
9
9
 
10
10
  declare const brand: unique symbol;
11
11
  type Brand<T, B extends string> = T & {
@@ -1904,7 +1904,7 @@ declare const goal: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1904
1904
  }>;
1905
1905
  declare const GRAPH_DEPTH_CAP = 8;
1906
1906
  declare const GRAPH_CHILDREN_CAP = 100;
1907
- declare const TASK_KINDS: readonly ["task", "phase", "approval"];
1907
+ declare const TASK_KINDS: readonly ["task", "phase", "approval", "milestone", "goal"];
1908
1908
  type TaskKind = (typeof TASK_KINDS)[number];
1909
1909
  declare const COMPLETION_POLICIES: readonly ["manual", "auto_children"];
1910
1910
  type CompletionPolicy = (typeof COMPLETION_POLICIES)[number];
@@ -2187,14 +2187,14 @@ declare const task: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2187
2187
  tableName: "task";
2188
2188
  dataType: "string";
2189
2189
  columnType: "SQLiteText";
2190
- data: "task" | "phase" | "approval";
2190
+ data: "milestone" | "goal" | "task" | "phase" | "approval";
2191
2191
  driverParam: string;
2192
2192
  notNull: true;
2193
2193
  hasDefault: true;
2194
2194
  isPrimaryKey: false;
2195
2195
  isAutoincrement: false;
2196
2196
  hasRuntimeDefault: false;
2197
- enumValues: ["task", "phase", "approval"];
2197
+ enumValues: ["task", "phase", "approval", "milestone", "goal"];
2198
2198
  baseColumn: never;
2199
2199
  identity: undefined;
2200
2200
  generated: undefined;
@@ -1,6 +1,6 @@
1
1
  import { InferSelectModel } from 'drizzle-orm';
2
2
  import { z } from 'zod';
3
- import { q as api_keys, N as project, $ as todo_updates, o as action, A as ActionType, z as milestone, v as goal, w as hook, x as hook_delivery, W as task, s as codebase_tasks, Y as task_link, U as tag, t as document, p as annotation_thread, Q as signoff, L as pipeline_run, M as pipeline_stage_event, I as pipeline_grant, K as pipeline_package, B as pipeline_analysis_template, J as pipeline_oidc_trust, r as apply_log, u as github_webhook_event, y as ignore_path, E as pipeline_approval, O as session, V as tag_config, X as task_event, Z as task_rollup, _ as task_tag, a0 as tracker_result, a1 as user } from './schema.d-7jUA2Hd2.js';
3
+ import { q as api_keys, N as project, $ as todo_updates, o as action, A as ActionType, z as milestone, v as goal, w as hook, x as hook_delivery, W as task, s as codebase_tasks, Y as task_link, U as tag, t as document, p as annotation_thread, Q as signoff, L as pipeline_run, M as pipeline_stage_event, I as pipeline_grant, K as pipeline_package, B as pipeline_analysis_template, J as pipeline_oidc_trust, r as apply_log, u as github_webhook_event, y as ignore_path, E as pipeline_approval, O as session, V as tag_config, X as task_event, Z as task_rollup, _ as task_tag, a0 as tracker_result, a1 as user } from './schema.d-CaVQ-Ate.js';
4
4
 
5
5
  declare const upsert_project: z.ZodObject<{
6
6
  id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1072,6 +1072,16 @@ declare const upsert_task_link: z.ZodObject<{
1072
1072
  note?: string | null | undefined;
1073
1073
  dst_id?: string | null | undefined;
1074
1074
  }>;
1075
+ declare const scan_diff_proposal: z.ZodObject<{
1076
+ parent_id: z.ZodNullable<z.ZodString>;
1077
+ proposing_task_id: z.ZodNullable<z.ZodString>;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ parent_id: string | null;
1080
+ proposing_task_id: string | null;
1081
+ }, {
1082
+ parent_id: string | null;
1083
+ proposing_task_id: string | null;
1084
+ }>;
1075
1085
  declare const apply_op: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1076
1086
  op: z.ZodLiteral<"create">;
1077
1087
  handle: z.ZodOptional<z.ZodString>;
@@ -2642,15 +2652,15 @@ declare const reviews_pending_response: z.ZodObject<{
2642
2652
  }>;
2643
2653
  type ReviewsPendingResponse = z.infer<typeof reviews_pending_response>;
2644
2654
  declare const hook_selector: z.ZodObject<{
2645
- subject_kind: z.ZodOptional<z.ZodEnum<["task", "phase", "approval"]>>;
2655
+ subject_kind: z.ZodOptional<z.ZodEnum<["task", "phase", "approval", "milestone", "goal"]>>;
2646
2656
  tag: z.ZodOptional<z.ZodString>;
2647
2657
  ancestor_id: z.ZodOptional<z.ZodString>;
2648
2658
  }, "strip", z.ZodTypeAny, {
2649
- subject_kind?: "task" | "phase" | "approval" | undefined;
2659
+ subject_kind?: "milestone" | "goal" | "task" | "phase" | "approval" | undefined;
2650
2660
  tag?: string | undefined;
2651
2661
  ancestor_id?: string | undefined;
2652
2662
  }, {
2653
- subject_kind?: "task" | "phase" | "approval" | undefined;
2663
+ subject_kind?: "milestone" | "goal" | "task" | "phase" | "approval" | undefined;
2654
2664
  tag?: string | undefined;
2655
2665
  ancestor_id?: string | undefined;
2656
2666
  }>;
@@ -2658,29 +2668,29 @@ type HookSelector = z.infer<typeof hook_selector>;
2658
2668
  declare const hook_trigger: z.ZodObject<{
2659
2669
  kinds: z.ZodArray<z.ZodEnum<["task.created", "task.updated", "task.completed", "task.reopened", "task.claimed", "edge.created", "edge.removed", "node.children_all_done", "policy.fired", "node.completion_stale", "doc.pushed", "thread.opened", "thread.resolved", "signoff.requested", "signoff.decided", "stage.advanced"]>, "many">;
2660
2670
  selector: z.ZodDefault<z.ZodObject<{
2661
- subject_kind: z.ZodOptional<z.ZodEnum<["task", "phase", "approval"]>>;
2671
+ subject_kind: z.ZodOptional<z.ZodEnum<["task", "phase", "approval", "milestone", "goal"]>>;
2662
2672
  tag: z.ZodOptional<z.ZodString>;
2663
2673
  ancestor_id: z.ZodOptional<z.ZodString>;
2664
2674
  }, "strip", z.ZodTypeAny, {
2665
- subject_kind?: "task" | "phase" | "approval" | undefined;
2675
+ subject_kind?: "milestone" | "goal" | "task" | "phase" | "approval" | undefined;
2666
2676
  tag?: string | undefined;
2667
2677
  ancestor_id?: string | undefined;
2668
2678
  }, {
2669
- subject_kind?: "task" | "phase" | "approval" | undefined;
2679
+ subject_kind?: "milestone" | "goal" | "task" | "phase" | "approval" | undefined;
2670
2680
  tag?: string | undefined;
2671
2681
  ancestor_id?: string | undefined;
2672
2682
  }>>;
2673
2683
  }, "strip", z.ZodTypeAny, {
2674
2684
  kinds: ("task.created" | "task.updated" | "task.completed" | "task.reopened" | "task.claimed" | "edge.created" | "edge.removed" | "node.children_all_done" | "policy.fired" | "node.completion_stale" | "doc.pushed" | "thread.opened" | "thread.resolved" | "signoff.requested" | "signoff.decided" | "stage.advanced")[];
2675
2685
  selector: {
2676
- subject_kind?: "task" | "phase" | "approval" | undefined;
2686
+ subject_kind?: "milestone" | "goal" | "task" | "phase" | "approval" | undefined;
2677
2687
  tag?: string | undefined;
2678
2688
  ancestor_id?: string | undefined;
2679
2689
  };
2680
2690
  }, {
2681
2691
  kinds: ("task.created" | "task.updated" | "task.completed" | "task.reopened" | "task.claimed" | "edge.created" | "edge.removed" | "node.children_all_done" | "policy.fired" | "node.completion_stale" | "doc.pushed" | "thread.opened" | "thread.resolved" | "signoff.requested" | "signoff.decided" | "stage.advanced")[];
2682
2692
  selector?: {
2683
- subject_kind?: "task" | "phase" | "approval" | undefined;
2693
+ subject_kind?: "milestone" | "goal" | "task" | "phase" | "approval" | undefined;
2684
2694
  tag?: string | undefined;
2685
2695
  ancestor_id?: string | undefined;
2686
2696
  } | undefined;
@@ -2810,29 +2820,29 @@ declare const upsert_hook: z.ZodObject<{
2810
2820
  trigger: z.ZodObject<{
2811
2821
  kinds: z.ZodArray<z.ZodEnum<["task.created", "task.updated", "task.completed", "task.reopened", "task.claimed", "edge.created", "edge.removed", "node.children_all_done", "policy.fired", "node.completion_stale", "doc.pushed", "thread.opened", "thread.resolved", "signoff.requested", "signoff.decided", "stage.advanced"]>, "many">;
2812
2822
  selector: z.ZodDefault<z.ZodObject<{
2813
- subject_kind: z.ZodOptional<z.ZodEnum<["task", "phase", "approval"]>>;
2823
+ subject_kind: z.ZodOptional<z.ZodEnum<["task", "phase", "approval", "milestone", "goal"]>>;
2814
2824
  tag: z.ZodOptional<z.ZodString>;
2815
2825
  ancestor_id: z.ZodOptional<z.ZodString>;
2816
2826
  }, "strip", z.ZodTypeAny, {
2817
- subject_kind?: "task" | "phase" | "approval" | undefined;
2827
+ subject_kind?: "milestone" | "goal" | "task" | "phase" | "approval" | undefined;
2818
2828
  tag?: string | undefined;
2819
2829
  ancestor_id?: string | undefined;
2820
2830
  }, {
2821
- subject_kind?: "task" | "phase" | "approval" | undefined;
2831
+ subject_kind?: "milestone" | "goal" | "task" | "phase" | "approval" | undefined;
2822
2832
  tag?: string | undefined;
2823
2833
  ancestor_id?: string | undefined;
2824
2834
  }>>;
2825
2835
  }, "strip", z.ZodTypeAny, {
2826
2836
  kinds: ("task.created" | "task.updated" | "task.completed" | "task.reopened" | "task.claimed" | "edge.created" | "edge.removed" | "node.children_all_done" | "policy.fired" | "node.completion_stale" | "doc.pushed" | "thread.opened" | "thread.resolved" | "signoff.requested" | "signoff.decided" | "stage.advanced")[];
2827
2837
  selector: {
2828
- subject_kind?: "task" | "phase" | "approval" | undefined;
2838
+ subject_kind?: "milestone" | "goal" | "task" | "phase" | "approval" | undefined;
2829
2839
  tag?: string | undefined;
2830
2840
  ancestor_id?: string | undefined;
2831
2841
  };
2832
2842
  }, {
2833
2843
  kinds: ("task.created" | "task.updated" | "task.completed" | "task.reopened" | "task.claimed" | "edge.created" | "edge.removed" | "node.children_all_done" | "policy.fired" | "node.completion_stale" | "doc.pushed" | "thread.opened" | "thread.resolved" | "signoff.requested" | "signoff.decided" | "stage.advanced")[];
2834
2844
  selector?: {
2835
- subject_kind?: "task" | "phase" | "approval" | undefined;
2845
+ subject_kind?: "milestone" | "goal" | "task" | "phase" | "approval" | undefined;
2836
2846
  tag?: string | undefined;
2837
2847
  ancestor_id?: string | undefined;
2838
2848
  } | undefined;
@@ -2893,7 +2903,7 @@ declare const upsert_hook: z.ZodObject<{
2893
2903
  trigger: {
2894
2904
  kinds: ("task.created" | "task.updated" | "task.completed" | "task.reopened" | "task.claimed" | "edge.created" | "edge.removed" | "node.children_all_done" | "policy.fired" | "node.completion_stale" | "doc.pushed" | "thread.opened" | "thread.resolved" | "signoff.requested" | "signoff.decided" | "stage.advanced")[];
2895
2905
  selector: {
2896
- subject_kind?: "task" | "phase" | "approval" | undefined;
2906
+ subject_kind?: "milestone" | "goal" | "task" | "phase" | "approval" | undefined;
2897
2907
  tag?: string | undefined;
2898
2908
  ancestor_id?: string | undefined;
2899
2909
  };
@@ -2917,7 +2927,7 @@ declare const upsert_hook: z.ZodObject<{
2917
2927
  trigger: {
2918
2928
  kinds: ("task.created" | "task.updated" | "task.completed" | "task.reopened" | "task.claimed" | "edge.created" | "edge.removed" | "node.children_all_done" | "policy.fired" | "node.completion_stale" | "doc.pushed" | "thread.opened" | "thread.resolved" | "signoff.requested" | "signoff.decided" | "stage.advanced")[];
2919
2929
  selector?: {
2920
- subject_kind?: "task" | "phase" | "approval" | undefined;
2930
+ subject_kind?: "milestone" | "goal" | "task" | "phase" | "approval" | undefined;
2921
2931
  tag?: string | undefined;
2922
2932
  ancestor_id?: string | undefined;
2923
2933
  } | undefined;
@@ -2976,6 +2986,7 @@ type UpsertTaskLink = z.infer<typeof upsert_task_link>;
2976
2986
  type UpdateAction = z.infer<typeof update_action>;
2977
2987
  type ProjectConfig = z.infer<typeof project_config>;
2978
2988
  type SaveConfigRequest = z.infer<typeof save_config_request>;
2989
+ type ScanDiffProposal = z.infer<typeof scan_diff_proposal>;
2979
2990
  type TaskWithDetails = {
2980
2991
  task: Task;
2981
2992
  codebase_tasks: CodebaseTask | null;
@@ -3088,4 +3099,4 @@ type UpdateData = {
3088
3099
  type UpdateUser = z.infer<typeof update_user>;
3089
3100
  type ConfigSchemaType = z.infer<typeof config_schema>;
3090
3101
 
3091
- export { type RunKindZ as $, type Action as A, type PipelineGrant as B, type ClaimRequest as C, type DashboardResponse as D, type ExternalRef as E, type PipelineOidcTrust as F, type GetConfigResult as G, type HistoryAction as H, INTERFACE_DIFF_CLASSES as I, type PipelinePackage as J, type PipelineRun as K, type PipelineStageEvent as L, type Milestone as M, type Nullable as N, type Project as O, type PipelineAnalysisTemplate as P, type ProjectConfig as Q, type ProjectWithTasks as R, type PushDocRequest as S, type PushInterfaceReportRequest as T, REVIEW_ITEM_KINDS as U, type ReplyThreadRequest as V, type RequestCheckpointRequest as W, type ReviewItem as X, type ReviewItemKind as Y, type ReviewsPendingResponse as Z, type RolloutShapeZ as _, type AdvanceStageRequest as a, insert_pipeline_stage_event as a$, type SaveConfigRequest as a0, type ScanStatus as a1, type Session as a2, type Signoff as a3, TAG_COLOURS as a4, type Tag as a5, type TagColor as a6, type TagConfig as a7, type TagWithColor as a8, type TagWithTypedColor as a9, type UpsertProject as aA, type UpsertTag as aB, type UpsertTaskLink as aC, type UpsertTodo as aD, type User as aE, type WebhookEventBody as aF, advance_stage_request as aG, apply_op as aH, apply_request as aI, approval_decision as aJ, claim_request as aK, config_schema as aL, create_thread_request as aM, dashboard_response as aN, dashboard_window_query as aO, decide_checkpoint_request as aP, document_kind as aQ, done_request as aR, external_ref as aS, forced_atomic_reason as aT, gate_descriptor as aU, grant_scope as aV, hook_action_input as aW, hook_action_public as aX, hook_action_stored as aY, hook_selector as aZ, hook_trigger as a_, type Task as aa, type TaskEvent as ab, type TaskEventPayload as ac, type TaskLink as ad, type TaskRollup as ae, type TaskTag as af, type TaskView as ag, type TaskWithDetails as ah, type ThreadAnchor as ai, type ThreadEntry as aj, type ThreadMarker as ak, type TodoUpdate as al, type ToggleBlockingRequest as am, type TrackerResult as an, type UpdateAction as ao, type UpdateData as ap, type UpdateUser as aq, type UpsertGoal as ar, type UpsertHook as as, type UpsertMilestone as at, type UpsertPipelineAnalysisTemplate as au, type UpsertPipelineApproval as av, type UpsertPipelineGrant as aw, type UpsertPipelineOidcTrust as ax, type UpsertPipelinePackage as ay, type UpsertPipelineRun as az, type AnnotationThread as b, pipeline_oidc_provider as b0, project_config as b1, push_doc_request as b2, push_interface_report_request as b3, reply_thread_request as b4, request_checkpoint_request as b5, resolved_gates as b6, resolved_rollout as b7, review_item as b8, reviews_pending_response as b9, upsert_pipeline_oidc_trust as bA, upsert_pipeline_package as bB, upsert_pipeline_run as bC, upsert_project as bD, upsert_tag as bE, upsert_task_link as bF, upsert_todo as bG, webhook_event_body as bH, rollout_shape as ba, rollout_stage as bb, run_kind as bc, run_status as bd, save_config_request as be, save_tags_request as bf, sdlc_stage as bg, signoff_checkpoint as bh, signoff_subject_kind as bi, stage_event_kind as bj, task_event_actor as bk, task_event_payload as bl, task_link_kind as bm, thread_anchor as bn, thread_entry as bo, thread_marker as bp, thread_status as bq, toggle_blocking_request as br, update_action as bs, update_user as bt, upsert_goal as bu, upsert_hook as bv, upsert_milestone as bw, upsert_pipeline_analysis_template as bx, upsert_pipeline_approval as by, upsert_pipeline_grant as bz, type ApiKey as c, type ApplyLog as d, type ApplyOp as e, type ApplyRequest as f, type CodebaseTask as g, type ConfigSchemaType as h, type CreateThreadRequest as i, type DashboardWindowQuery as j, type DecideCheckpointRequest as k, type Document as l, type DoneRequest as m, type GithubWebhookEvent as n, type Goal as o, type Hook as p, type HookActionInput as q, type HookActionPublic as r, type HookActionStored as s, type HookDelivery as t, type HookSelector as u, type HookTrigger as v, type IgnorePath as w, type InsertPipelineStageEvent as x, type InterfaceDiffClass as y, type PipelineApproval as z };
3102
+ export { type RunKindZ as $, type Action as A, type PipelineGrant as B, type ClaimRequest as C, type DashboardResponse as D, type ExternalRef as E, type PipelineOidcTrust as F, type GetConfigResult as G, type HistoryAction as H, INTERFACE_DIFF_CLASSES as I, type PipelinePackage as J, type PipelineRun as K, type PipelineStageEvent as L, type Milestone as M, type Nullable as N, type Project as O, type PipelineAnalysisTemplate as P, type ProjectConfig as Q, type ProjectWithTasks as R, type PushDocRequest as S, type PushInterfaceReportRequest as T, REVIEW_ITEM_KINDS as U, type ReplyThreadRequest as V, type RequestCheckpointRequest as W, type ReviewItem as X, type ReviewItemKind as Y, type ReviewsPendingResponse as Z, type RolloutShapeZ as _, type AdvanceStageRequest as a, hook_trigger as a$, type SaveConfigRequest as a0, type ScanDiffProposal as a1, type ScanStatus as a2, type Session as a3, type Signoff as a4, TAG_COLOURS as a5, type Tag as a6, type TagColor as a7, type TagConfig as a8, type TagWithColor as a9, type UpsertPipelineRun as aA, type UpsertProject as aB, type UpsertTag as aC, type UpsertTaskLink as aD, type UpsertTodo as aE, type User as aF, type WebhookEventBody as aG, advance_stage_request as aH, apply_op as aI, apply_request as aJ, approval_decision as aK, claim_request as aL, config_schema as aM, create_thread_request as aN, dashboard_response as aO, dashboard_window_query as aP, decide_checkpoint_request as aQ, document_kind as aR, done_request as aS, external_ref as aT, forced_atomic_reason as aU, gate_descriptor as aV, grant_scope as aW, hook_action_input as aX, hook_action_public as aY, hook_action_stored as aZ, hook_selector as a_, type TagWithTypedColor as aa, type Task as ab, type TaskEvent as ac, type TaskEventPayload as ad, type TaskLink as ae, type TaskRollup as af, type TaskTag as ag, type TaskView as ah, type TaskWithDetails as ai, type ThreadAnchor as aj, type ThreadEntry as ak, type ThreadMarker as al, type TodoUpdate as am, type ToggleBlockingRequest as an, type TrackerResult as ao, type UpdateAction as ap, type UpdateData as aq, type UpdateUser as ar, type UpsertGoal as as, type UpsertHook as at, type UpsertMilestone as au, type UpsertPipelineAnalysisTemplate as av, type UpsertPipelineApproval as aw, type UpsertPipelineGrant as ax, type UpsertPipelineOidcTrust as ay, type UpsertPipelinePackage as az, type AnnotationThread as b, insert_pipeline_stage_event as b0, pipeline_oidc_provider as b1, project_config as b2, push_doc_request as b3, push_interface_report_request as b4, reply_thread_request as b5, request_checkpoint_request as b6, resolved_gates as b7, resolved_rollout as b8, review_item as b9, upsert_pipeline_approval as bA, upsert_pipeline_grant as bB, upsert_pipeline_oidc_trust as bC, upsert_pipeline_package as bD, upsert_pipeline_run as bE, upsert_project as bF, upsert_tag as bG, upsert_task_link as bH, upsert_todo as bI, webhook_event_body as bJ, reviews_pending_response as ba, rollout_shape as bb, rollout_stage as bc, run_kind as bd, run_status as be, save_config_request as bf, save_tags_request as bg, scan_diff_proposal as bh, sdlc_stage as bi, signoff_checkpoint as bj, signoff_subject_kind as bk, stage_event_kind as bl, task_event_actor as bm, task_event_payload as bn, task_link_kind as bo, thread_anchor as bp, thread_entry as bq, thread_marker as br, thread_status as bs, toggle_blocking_request as bt, update_action as bu, update_user as bv, upsert_goal as bw, upsert_hook as bx, upsert_milestone as by, upsert_pipeline_analysis_template as bz, type ApiKey as c, type ApplyLog as d, type ApplyOp as e, type ApplyRequest as f, type CodebaseTask as g, type ConfigSchemaType as h, type CreateThreadRequest as i, type DashboardWindowQuery as j, type DecideCheckpointRequest as k, type Document as l, type DoneRequest as m, type GithubWebhookEvent as n, type Goal as o, type Hook as p, type HookActionInput as q, type HookActionPublic as r, type HookActionStored as s, type HookDelivery as t, type HookSelector as u, type HookTrigger as v, type IgnorePath as w, type InsertPipelineStageEvent as x, type InterfaceDiffClass as y, type PipelineApproval as z };
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { InferSelectModel, InferInsertModel } from 'drizzle-orm';
3
3
  import { a as media_accounts, d as media_profiles, c as media_profile_filters, m as media_account_settings, b as media_platform_credentials, e as media_rate_limits } from './media.d-R87HGuRp.js';
4
- import { q as api_keys } from './schema.d-7jUA2Hd2.js';
4
+ import { q as api_keys } from './schema.d-CaVQ-Ate.js';
5
5
 
6
6
  declare const GitHubSettingsSchema: z.ZodObject<{
7
7
  hidden_repos: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devpad/api",
3
- "version": "2.3.6",
3
+ "version": "2.4.0",
4
4
  "description": "TypeScript client library for the devpad API - project and task management made simple",
5
5
  "keywords": [
6
6
  "api",
@@ -68,7 +68,7 @@
68
68
  "zod": "^3.22.4"
69
69
  },
70
70
  "devDependencies": {
71
- "@devpad/schema": "^2.3.6",
71
+ "@devpad/schema": "^2.4.0",
72
72
  "@types/node": "^20.11.24",
73
73
  "bun-types": "latest",
74
74
  "tsup": "^8.0.0",