@ariestools/toolchain
Advanced tools
| import type { WorkItem } from './schema.ts'; | ||
| import type { ScopedWorkItem, WorkScopeOptions } from './workspace.ts'; | ||
| export declare const normalizeTags: (tags: readonly string[] | undefined) => string[]; | ||
| export declare const normalizeTextList: (items: readonly string[] | undefined) => string[]; | ||
| export declare const normalizeAnchor: (cwd: string, filePath: string, line?: number) => { | ||
| kind: "file"; | ||
| line: number | undefined; | ||
| path: string; | ||
| }; | ||
| export declare const scopeFrom: (options: WorkScopeOptions) => WorkScopeOptions; | ||
| export declare const stripScope: (item: ScopedWorkItem) => WorkItem; | ||
| /** Work list/show payloads may include a workspace repo label. */ | ||
| export type WorkListedItem = WorkItem & { | ||
| formula?: string; | ||
| repo?: string; | ||
| repoCwd?: string; | ||
| }; | ||
| export declare const toListedItem: (item: ScopedWorkItem, keepRepo: boolean) => WorkListedItem; | ||
| export declare const claimItem: (cwd: string, item: WorkItem, now?: Date) => WorkItem; | ||
| export declare const repoBasename: (cwd: string) => string; | ||
| //# sourceMappingURL=helpers.d.ts.map |
| {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/actions/work/helpers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAE3C,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtE,eAAO,MAAM,aAAa,GAAI,MAAM,SAAS,MAAM,EAAE,GAAG,SAAS,KAAG,MAAM,EAEzE,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,OAAO,SAAS,MAAM,EAAE,GAAG,SAAS,KAAG,MAAM,EAE9E,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,KAAK,MAAM,EAAE,UAAU,MAAM,EAAE,OAAO,MAAM;;;;CAO3E,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,SAAS,gBAAgB,KAAG,gBAKpD,CAAA;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,cAAc,KAAG,QAKjD,CAAA;AAED,kEAAkE;AAClE,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,MAAM,cAAc,EAAE,UAAU,OAAO,KAAG,cAMtE,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,KAAK,MAAM,EAAE,MAAM,QAAQ,EAAE,MAAM,IAAI,KAAG,QAanE,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,KAAG,MAA0C,CAAA"} |
| import { type WorkItem, type WorkStatus } from './schema.ts'; | ||
| import { type WorkScopeOptions } from './workspace.ts'; | ||
| export interface WorkClaimOptions extends WorkScopeOptions { | ||
| id: string; | ||
| now?: Date; | ||
| } | ||
| export declare const workClaim: (options: WorkClaimOptions) => import("./result.ts").WorkActionResult<{ | ||
| item: WorkItem; | ||
| repo: string; | ||
| }>; | ||
| export interface WorkDoneOptions extends WorkScopeOptions { | ||
| evidence: string; | ||
| id: string; | ||
| now?: Date; | ||
| } | ||
| export declare const workDone: (options: WorkDoneOptions) => import("./result.ts").WorkActionResult<{ | ||
| item: WorkItem; | ||
| repo: string; | ||
| }>; | ||
| export interface WorkUpdateOptions extends WorkScopeOptions { | ||
| acceptanceCriteria?: readonly string[]; | ||
| area?: string; | ||
| blockedReason?: string; | ||
| confidence?: number; | ||
| description?: string; | ||
| effort?: number; | ||
| id: string; | ||
| impact?: number; | ||
| now?: Date; | ||
| risk?: number; | ||
| status?: WorkStatus; | ||
| tags?: readonly string[]; | ||
| title?: string; | ||
| urgency?: number; | ||
| verification?: readonly string[]; | ||
| } | ||
| export declare const workUpdate: (options: WorkUpdateOptions) => import("./result.ts").WorkActionResult<{ | ||
| item: WorkItem; | ||
| repo: string; | ||
| }>; | ||
| //# sourceMappingURL=lifecycle.d.ts.map |
|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AAiB;;;EAgCpD,CAAA"} |
| import type { RuleCheckDefinition } from '../ruleRunner.ts'; | ||
| import type { GithubWorkBridge } from './github.ts'; | ||
| import { type WorkRepo, type WorkScopeOptions } from './workspace.ts'; | ||
| export interface WorkLintOptions extends WorkScopeOptions { | ||
| github?: GithubWorkBridge; | ||
| strict?: boolean; | ||
| } | ||
| export interface WorkLintRepoContext { | ||
| driftMessages: string[]; | ||
| githubEnabled: boolean; | ||
| githubUnavailable: boolean; | ||
| gitignoredPaths: string[]; | ||
| notGitRepo: boolean; | ||
| repo: WorkRepo; | ||
| } | ||
| export interface WorkLintContext { | ||
| repos: WorkLintRepoContext[]; | ||
| } | ||
| export declare const WORK_LINT_RULES: RuleCheckDefinition<WorkLintContext>[]; | ||
| export declare const workLint: (options?: WorkLintOptions) => Promise<import("../ruleRunner.ts").RuleRunResult>; | ||
| //# sourceMappingURL=lint.d.ts.map |
| {"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../../src/actions/work/lint.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,mBAAmB,EAGpB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAUnD,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAA;AAEvB,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,aAAa,EAAE,OAAO,CAAA;IACtB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,eAAe,EAAE,MAAM,EAAE,CAAA;IACzB,UAAU,EAAE,OAAO,CAAA;IACnB,IAAI,EAAE,QAAQ,CAAA;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,mBAAmB,EAAE,CAAA;CAC7B;AAyGD,eAAO,MAAM,eAAe,EAAE,mBAAmB,CAAC,eAAe,CAAC,EA6DjE,CAAA;AAkBD,eAAO,MAAM,QAAQ,GAAU,UAAS,eAAoB,sDAkC3D,CAAA"} |
| import type { GithubWorkBridge } from './github.ts'; | ||
| import { type WorkListedItem } from './helpers.ts'; | ||
| import { type WorkItem, type WorkStatus, type WorkType } from './schema.ts'; | ||
| import { type ScopedWorkItem, type WorkScopeOptions } from './workspace.ts'; | ||
| export interface WorkListOptions extends WorkScopeOptions { | ||
| /** When true, also list/normalize open GitHub issues not created by `xy work`. */ | ||
| all?: boolean; | ||
| /** Injectable GitHub bridge for tests; production uses the default `gh` CLI bridge. */ | ||
| github?: GithubWorkBridge; | ||
| sort?: 'created' | 'priority'; | ||
| status?: WorkStatus; | ||
| type?: WorkType; | ||
| } | ||
| export declare const selectWorkItems: (items: readonly WorkItem[], options: WorkListOptions, formula: string) => WorkItem[]; | ||
| export declare const loadScopedItemsWithOptionalGithub: (options: WorkListOptions) => ScopedWorkItem[]; | ||
| export declare const workList: (options?: WorkListOptions) => import("./result.ts").WorkActionResult<{ | ||
| items: WorkListedItem[]; | ||
| }>; | ||
| export interface WorkShowOptions extends WorkScopeOptions { | ||
| id: string; | ||
| } | ||
| export declare const workShow: (options: WorkShowOptions) => import("./result.ts").WorkActionResult<{ | ||
| item: WorkListedItem; | ||
| }>; | ||
| export interface WorkTriageOptions extends WorkScopeOptions { | ||
| } | ||
| export declare const workTriage: (options?: WorkTriageOptions) => import("./result.ts").WorkActionResult<{ | ||
| items: WorkListedItem[]; | ||
| }>; | ||
| //# sourceMappingURL=list.d.ts.map |
| {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/actions/work/list.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AACnD,OAAO,EAIL,KAAK,cAAc,EACpB,MAAM,cAAc,CAAA;AAIrB,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,QAAQ,EACd,MAAM,aAAa,CAAA;AASpB,OAAO,EAIL,KAAK,cAAc,EAEnB,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAA;AAEvB,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD,kFAAkF;IAClF,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,uFAAuF;IACvF,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,IAAI,CAAC,EAAE,SAAS,GAAG,UAAU,CAAA;IAC7B,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,IAAI,CAAC,EAAE,QAAQ,CAAA;CAChB;AAED,eAAO,MAAM,eAAe,GAC1B,OAAO,SAAS,QAAQ,EAAE,EAC1B,SAAS,eAAe,EACxB,SAAS,MAAM,KACd,QAAQ,EAUV,CAAA;AAkFD,eAAO,MAAM,iCAAiC,GAAI,SAAS,eAAe,KAAG,cAAc,EAK1F,CAAA;AAED,eAAO,MAAM,QAAQ,GAAI,UAAS,eAAoB;;EAYrD,CAAA;AAED,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,eAAO,MAAM,QAAQ,GAAI,SAAS,eAAe;;EAKhD,CAAA;AAED,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAW9D,eAAO,MAAM,UAAU,GAAI,UAAS,iBAAsB;;EAOzD,CAAA"} |
| import type { GithubWorkBridge } from './github.ts'; | ||
| import type { WorkItem } from './schema.ts'; | ||
| import { type WorkScopeOptions } from './workspace.ts'; | ||
| export interface WorkMoveOptions extends WorkScopeOptions { | ||
| from?: string; | ||
| /** Injectable GitHub bridge for tests. */ | ||
| github?: GithubWorkBridge; | ||
| id: string; | ||
| now?: Date; | ||
| to: string; | ||
| } | ||
| /** | ||
| * Move a work item from one workspace folder repo to another. | ||
| * Requires workspace scope (or an explicit workspace file). | ||
| */ | ||
| export declare const workMove: (options: WorkMoveOptions) => import("./result.ts").WorkActionResult<{ | ||
| from: string; | ||
| item: WorkItem; | ||
| to: string; | ||
| }>; | ||
| //# sourceMappingURL=move.d.ts.map |
| {"version":3,"file":"move.d.ts","sourceRoot":"","sources":["../../../src/actions/work/move.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAGnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAQ3C,OAAO,EAML,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAA;AAEvB,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,IAAI,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;CACX;AAuJD;;;GAGG;AACH,eAAO,MAAM,QAAQ,GAAI,SAAS,eAAe;;;;EAmBhD,CAAA"} |
| import type { WorkItem, WorkQueue, WorkStatus } from './schema.ts'; | ||
| import { type WorkScopeOptions } from './workspace.ts'; | ||
| export interface WorkQueueOptions extends WorkScopeOptions { | ||
| limit?: number; | ||
| name?: string; | ||
| now?: Date; | ||
| status?: WorkStatus; | ||
| } | ||
| export declare const workQueue: (options?: WorkQueueOptions) => import("./result.ts").WorkActionResult<{ | ||
| items: WorkItem[]; | ||
| queue: WorkQueue; | ||
| queues: { | ||
| name: string; | ||
| queue: WorkQueue; | ||
| repo: string; | ||
| }[]; | ||
| }>; | ||
| export interface WorkNextOptions extends WorkScopeOptions { | ||
| claim?: boolean; | ||
| name?: string; | ||
| now?: Date; | ||
| } | ||
| export declare const workNext: (options?: WorkNextOptions) => import("./result.ts").WorkActionResult<{ | ||
| item: WorkItem | undefined; | ||
| }>; | ||
| //# sourceMappingURL=queue.d.ts.map |
| {"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../../../src/actions/work/queue.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACT,UAAU,EACX,MAAM,aAAa,CAAA;AASpB,OAAO,EAML,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAA;AAEvB,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,IAAI,CAAA;IACV,MAAM,CAAC,EAAE,UAAU,CAAA;CACpB;AAgHD,eAAO,MAAM,SAAS,GAAI,UAAS,gBAAqB;;;;;;;;EAGvD,CAAA;AAED,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,IAAI,CAAA;CACX;AAwFD,eAAO,MAAM,QAAQ,GAAI,UAAS,eAAoB;UA/DvB,QAAQ,GAAG,SAAS;EAkElD,CAAA"} |
| import { type WorkItem, type WorkStatus, type WorkType } from './schema.ts'; | ||
| export interface WorkRepo { | ||
| cwd: string; | ||
| hasStore: boolean; | ||
| name: string; | ||
| } | ||
| export interface ScopedWorkItem extends WorkItem { | ||
| formula: string; | ||
| repo: string; | ||
| repoCwd: string; | ||
| } | ||
| export interface WorkScopeOptions { | ||
| cwd?: string; | ||
| /** Restrict to a single workspace folder name. */ | ||
| repo?: string; | ||
| /** Multi-repo mode using active/local *.code-workspace. */ | ||
| workspace?: boolean; | ||
| /** Explicit *.code-workspace path (implies workspace mode). */ | ||
| workspaceFile?: string; | ||
| } | ||
| export declare const isWorkspaceScope: (options: WorkScopeOptions) => boolean; | ||
| export declare const resolveWorkRepos: (options?: WorkScopeOptions) => WorkRepo[]; | ||
| export declare const resolveWorkReposWithStore: (options?: WorkScopeOptions) => WorkRepo[]; | ||
| export declare const toScopedWorkItem: (item: WorkItem, repo: WorkRepo, formula?: string) => ScopedWorkItem; | ||
| /** Load work items for the current scope (auto-inits only in single-repo mode). */ | ||
| export declare const listScopedWorkItems: (options?: WorkScopeOptions) => ScopedWorkItem[]; | ||
| export declare const compareScopedWorkItemsByPriority: (a: ScopedWorkItem, b: ScopedWorkItem) => number; | ||
| export declare const selectScopedWorkItems: (items: readonly ScopedWorkItem[], options: { | ||
| sort?: "created" | "priority"; | ||
| status?: WorkStatus; | ||
| type?: WorkType; | ||
| }) => ScopedWorkItem[]; | ||
| /** | ||
| * Resolve a work item by id within the current scope. | ||
| * In single-repo mode, uses cwd directly (same error as readWorkItem). | ||
| */ | ||
| export declare const resolveScopedWorkItem: (id: string, options?: WorkScopeOptions) => ScopedWorkItem; | ||
| /** | ||
| * Target repo for create operations (`add`). | ||
| * Workspace mode: --repo, else deepest workspace folder containing cwd, else error. | ||
| */ | ||
| export declare const resolveAddTargetRepo: (options?: WorkScopeOptions) => WorkRepo; | ||
| export declare const findWorkRepoByName: (name: string, options?: WorkScopeOptions) => WorkRepo; | ||
| /** Compare using a single formula (legacy single-repo helper re-export path). */ | ||
| export declare const compareWorkItemsByPriorityForRepo: (a: WorkItem, b: WorkItem, formula: string) => number; | ||
| //# sourceMappingURL=workspace.d.ts.map |
| {"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../../src/actions/work/workspace.ts"],"names":[],"mappings":"AASA,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,QAAQ,EACd,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC9C,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,GAAG,CAAC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mD,CAAA"} |
| import type { CommandModule } from 'yargs'; | ||
| export declare const lintCommand: CommandModule; | ||
| //# sourceMappingURL=lintCommand.d.ts.map |
| {"version":3,"file":"lintCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/lintCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAQ1C,eAAO,MAAM,WAAW,EAAE,aA8BzB,CAAA"} |
| import type { CommandModule } from 'yargs'; | ||
| export declare const moveCommand: CommandModule; | ||
| //# sourceMappingURL=moveCommand.d.ts.map |
| {"version":3,"file":"moveCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/moveCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAQ1C,eAAO,MAAM,WAAW,EAAE,aA+BzB,CAAA"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"fix.d.ts","sourceRoot":"","sources":["../../src/actions/fix.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,GAAG,GAAU,yBAEvB,SAAS,KAAG,OAAO,CAAC,MAAM,CAgB5B,CAAA"} | ||
| {"version":3,"file":"fix.d.ts","sourceRoot":"","sources":["../../src/actions/fix.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,GAAG,GAAU,yBAEvB,SAAS,KAAG,OAAO,CAAC,MAAM,CAiB5B,CAAA"} |
@@ -17,2 +17,3 @@ import { type RuleCatalogEntry } from './ruleCatalogRender.ts'; | ||
| export declare function getSkillsLintRuleCatalog(): Promise<RuleCatalogEntry[]>; | ||
| export declare function getWorkLintRuleCatalog(): Promise<RuleCatalogEntry[]>; | ||
| export declare function getEslintRuleCatalog(command?: "lint"): Promise<RuleCatalogEntry[]>; | ||
@@ -19,0 +20,0 @@ export declare function getCycleRuleCatalog(depth?: number): RuleCatalogEntry[]; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"ruleCatalog.d.ts","sourceRoot":"","sources":["../../src/actions/ruleCatalog.ts"],"names":[],"mappings":"AAuCA,OAAO,EACL,KAAK,gBAAgB,EAEtB,MAAM,wBAAwB,CAAA;AAI/B,OAAO,EACL,iBAAiB,EACjB,KAAK,gBAAgB,EACrB,iBAAiB,EACjB,SAAS,GACV,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAqGpE,wBAAsB,qBAAqB,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAiBrF;AAED,wBAAsB,kBAAkB,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAgBtH;AAED,wBAAsB,qBAAqB,CAAC,OAAO,YAAgC,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAW9H;AAED,wBAAsB,yBAAyB,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAezF;AAED,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAEzE;AAED,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAEzE;AAED,wBAAsB,sBAAsB,IAAI,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAE1E;AAED,OAAO,EAAE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WorkStatus, type WorkType } from './schema.ts'; | ||
| import type { WorkItem, WorkType } from './schema.ts'; | ||
| import { type WorkScopeOptions } from './workspace.ts'; | ||
| export * from './github.ts'; | ||
| export * from './helpers.ts'; | ||
| export * from './id.ts'; | ||
| export * from './inline.ts'; | ||
| export * from './lifecycle.ts'; | ||
| export * from './lint.ts'; | ||
| export * from './list.ts'; | ||
| export * from './move.ts'; | ||
| export * from './priority.ts'; | ||
| export * from './queue.ts'; | ||
| export * from './render.ts'; | ||
@@ -12,4 +19,4 @@ export * from './result.ts'; | ||
| export * from './sync.ts'; | ||
| export interface WorkInitOptions { | ||
| cwd?: string; | ||
| export * from './workspace.ts'; | ||
| export interface WorkInitOptions extends WorkScopeOptions { | ||
| } | ||
@@ -23,8 +30,16 @@ export declare const workInit: (options?: WorkInitOptions) => import("./result.ts").WorkActionResult<{ | ||
| }; | ||
| repos: { | ||
| config: import("./schema.ts").WorkConfig; | ||
| paths: { | ||
| config: string; | ||
| items: string; | ||
| queues: string; | ||
| }; | ||
| repo: string; | ||
| }[]; | ||
| }>; | ||
| export interface WorkAddOptions { | ||
| export interface WorkAddOptions extends WorkScopeOptions { | ||
| acceptanceCriteria?: readonly string[]; | ||
| area?: string; | ||
| confidence?: number; | ||
| cwd?: string; | ||
| description?: string; | ||
@@ -49,88 +64,16 @@ effort?: number; | ||
| item: WorkItem; | ||
| repo: string; | ||
| }>; | ||
| export interface WorkListOptions { | ||
| /** When true, also list/normalize open GitHub issues not created by `xy work`. */ | ||
| all?: boolean; | ||
| cwd?: string; | ||
| /** Injectable GitHub bridge for tests; production uses the default `gh` CLI bridge. */ | ||
| export interface WorkSyncAllOptions extends WorkScopeOptions { | ||
| github?: GithubWorkBridge; | ||
| sort?: 'created' | 'priority'; | ||
| status?: WorkStatus; | ||
| type?: WorkType; | ||
| } | ||
| export declare const selectWorkItems: (items: readonly WorkItem[], options: WorkListOptions, formula: string) => WorkItem[]; | ||
| export declare const workList: (options?: WorkListOptions) => import("./result.ts").WorkActionResult<{ | ||
| items: WorkItem[]; | ||
| }>; | ||
| export interface WorkShowOptions { | ||
| cwd?: string; | ||
| id: string; | ||
| } | ||
| export declare const workShow: (options: WorkShowOptions) => import("./result.ts").WorkActionResult<{ | ||
| item: WorkItem; | ||
| }>; | ||
| export interface WorkTriageOptions { | ||
| cwd?: string; | ||
| } | ||
| export declare const workTriage: (options?: WorkTriageOptions) => import("./result.ts").WorkActionResult<{ | ||
| items: WorkItem[]; | ||
| }>; | ||
| export interface WorkQueueOptions { | ||
| cwd?: string; | ||
| limit?: number; | ||
| name?: string; | ||
| now?: Date; | ||
| status?: WorkStatus; | ||
| } | ||
| export declare const workQueue: (options?: WorkQueueOptions) => import("./result.ts").WorkActionResult<{ | ||
| queue: WorkQueue; | ||
| /** Sync one repo, or each store in a code-workspace when --workspace is set. */ | ||
| export declare const workSyncScoped: (options?: WorkSyncAllOptions) => import("./result.ts").WorkActionResult<{ | ||
| results: { | ||
| repo: string; | ||
| summary: unknown; | ||
| }[]; | ||
| summary: unknown; | ||
| }>; | ||
| export interface WorkNextOptions { | ||
| claim?: boolean; | ||
| cwd?: string; | ||
| name?: string; | ||
| now?: Date; | ||
| } | ||
| export declare const workNext: (options?: WorkNextOptions) => import("./result.ts").WorkActionResult<{ | ||
| item: WorkItem | undefined; | ||
| }>; | ||
| export interface WorkClaimOptions { | ||
| cwd?: string; | ||
| id: string; | ||
| now?: Date; | ||
| } | ||
| export declare const workClaim: (options: WorkClaimOptions) => import("./result.ts").WorkActionResult<{ | ||
| item: WorkItem; | ||
| }>; | ||
| export interface WorkDoneOptions { | ||
| cwd?: string; | ||
| evidence: string; | ||
| id: string; | ||
| now?: Date; | ||
| } | ||
| export declare const workDone: (options: WorkDoneOptions) => import("./result.ts").WorkActionResult<{ | ||
| item: WorkItem; | ||
| }>; | ||
| export interface WorkUpdateOptions { | ||
| acceptanceCriteria?: readonly string[]; | ||
| area?: string; | ||
| blockedReason?: string; | ||
| confidence?: number; | ||
| cwd?: string; | ||
| description?: string; | ||
| effort?: number; | ||
| id: string; | ||
| impact?: number; | ||
| now?: Date; | ||
| risk?: number; | ||
| status?: WorkStatus; | ||
| tags?: readonly string[]; | ||
| title?: string; | ||
| urgency?: number; | ||
| verification?: readonly string[]; | ||
| } | ||
| export declare const workUpdate: (options: WorkUpdateOptions) => import("./result.ts").WorkActionResult<{ | ||
| item: WorkItem; | ||
| }>; | ||
| export declare const workStoreExists: (cwd?: string) => boolean; | ||
| //# sourceMappingURL=index.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/work/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAUnD,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,QAAQ,EACd,MAAM,aAAa,CAAA;AAiBpB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AAmBzB,MAAM,WAAW,eAAe;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,eAAO,MAAM,QAAQ,GAAI,UAAS,eAAoB;;;;;;;EAcrD,CAAA;AAED,MAAM,WAAW,cAAc;IAC7B,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACtC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,uFAAuF;I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;;;;;;EAuBrD,CAAA;AAED,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACtC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,uFAAuF;IACvF,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,IAAI,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,QAAQ,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CACjC;AA2CD,eAAO,MAAM,OAAO,GAAI,SAAS,cAAc;;;EAmD9C,CAAA;AAED,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB;IAC1D,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,GAAG,CAAC,EAAE,IAAI,CAAA;CACX;AAED,gFAAgF;AAChF,eAAO,MAAM,cAAc,GAAI,UAAS,kBAAuB;;cAiBtC,MAAM;iBAAW,OAAO;;;EAoBhD,CAAA"} |
| import type { WorkItem } from './schema.ts'; | ||
| export declare const formatWorkTable: (items: readonly WorkItem[], formula: string) => string; | ||
| export declare const printWorkItemsTable: (items: readonly WorkItem[], formula: string) => void; | ||
| export declare const printWorkItemSummary: (item: WorkItem, score?: number) => void; | ||
| export type WorkTableItem = WorkItem & { | ||
| formula?: string; | ||
| repo?: string; | ||
| }; | ||
| export interface FormatWorkTableOptions { | ||
| showRepo?: boolean; | ||
| } | ||
| export declare const formatWorkTable: (items: readonly WorkTableItem[], formula: string, options?: FormatWorkTableOptions) => string; | ||
| export declare const printWorkItemsTable: (items: readonly WorkTableItem[], formula: string, options?: FormatWorkTableOptions) => void; | ||
| export declare const printWorkItemSummary: (item: WorkTableItem, score?: number) => void; | ||
| //# sourceMappingURL=render.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../src/actions/work/render.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAgF3C,eAAO,MAAM,eAAe,GAAI,OAAO,SAAS,QAAQ,EAAE,EAAE,SAAS,MAAM,KAAG,MAsB7E,CAAA;AAED,eAAO,MAAM,mBAAmB,GAC9B,OAAO,SAAS,QAAQ,EAAE,EAC1B,SAAS,MAAM,KACd,IAOF,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,MAAM,QAAQ,EAAE,QAAQ,MAAM,KAAG,IAGrE,CAAA"} | ||
| {"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../src/actions/work/render.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG;IACrC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAoGD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,eAAe,GAC1B,OAAO,SAAS,aAAa,EAAE,EAC/B,SAAS,MAAM,EACf,UAAS,sBAA2B,KACnC,MA6CF,CAAA;AAED,eAAO,MAAM,mBAAmB,GAC9B,OAAO,SAAS,aAAa,EAAE,EAC/B,SAAS,MAAM,EACf,UAAS,sBAA2B,KACnC,IAOF,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,MAAM,aAAa,EAAE,QAAQ,MAAM,KAAG,IAI1E,CAAA"} |
@@ -12,2 +12,4 @@ import { type WorkConfig, type WorkItem, type WorkQueue } from './schema.ts'; | ||
| export declare const readWorkConfig: (cwd?: string) => WorkConfig; | ||
| /** Read config when the store already exists; does not create it. */ | ||
| export declare const tryReadWorkConfig: (cwd?: string) => WorkConfig | undefined; | ||
| export declare const workItemPath: (cwd: string, id: string) => string; | ||
@@ -17,2 +19,4 @@ export declare const workQueuePath: (cwd: string, name: string) => string; | ||
| export declare const readWorkItem: (cwd: string, id: string) => WorkItem; | ||
| export declare const workItemExists: (cwd: string, id: string) => boolean; | ||
| export declare const deleteWorkItem: (cwd: string, id: string) => void; | ||
| export declare const listWorkItems: (cwd?: string) => WorkItem[]; | ||
@@ -25,2 +29,3 @@ export declare const writeWorkQueue: (cwd: string, queue: WorkQueue) => void; | ||
| }; | ||
| export declare const workStoreExists: (cwd?: string) => boolean; | ||
| //# sourceMappingURL=store.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/actions/work/store.ts"],"names":[],"mappings":"AAMA,OAAO,EAKL,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,SAAS,EACf,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB;AAWD,eAAO,MAAM,cAAc,GAAI,YAAmB,EAAE,mBAA4B,KAAG,cAWlF,CAAA;AAMD,eAAO,MAAM,SAAS,GAAI,UAAU,MAAM,EAAE,OAAO,OAAO,KAAG,IAG5D,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,YAAmB,KAAG,cAYrD,CAAA;AAED,eAAO,MAA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AA;AAED,eAAO,MAAM,cAAc,GAAI,YAAmB,KAAG,UAGpD,CAAA;AAED,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,GAAI,YAAmB,KAAG,UAAU,GAAG,SAIpE,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,EAAE,IAAI,MAAM,KAAG,MAGtD,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,EAAE,MAAM,MAAM,KAAG,MAGzD,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,EAAE,MAAM,QAAQ,KAAG,IAG3D,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,EAAE,IAAI,MAAM,KAAG,QAItD,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,EAAE,IAAI,MAAM,KAAG,OAKxD,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,EAAE,IAAI,MAAM,KAAG,IAIxD,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,YAAmB,KAAG,QAAQ,EAM3D,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,EAAE,OAAO,SAAS,KAAG,IAG9D,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,EAAE,MAAM,MAAM,KAAG,SAIzD,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,EAAE,UAAU,MAAM,KAAG;IAC7D,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;CAWrB,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,YAAmB,KAAG,OAErD,CAAA"} |
@@ -24,3 +24,23 @@ import { type GithubWorkBridge } from './github.ts'; | ||
| } | ||
| export interface WorkSyncDrift { | ||
| /** xy-work (or otherwise marked) GitHub issues not present as local items. */ | ||
| githubMissingLocal: string[]; | ||
| /** Active local items without a GitHub link. */ | ||
| localMissingGithub: string[]; | ||
| /** Linked pairs where local terminal status disagrees with GitHub open/closed. */ | ||
| statusMismatch: string[]; | ||
| /** Linked pairs with different titles. */ | ||
| titleMismatch: string[]; | ||
| } | ||
| export declare const emptyWorkSyncDrift: () => WorkSyncDrift; | ||
| export declare const workSyncDriftIsClean: (drift: WorkSyncDrift) => boolean; | ||
| /** | ||
| * Compute local ↔ GitHub drift without mutating either side. | ||
| * Returns empty drift when GitHub is unavailable or disabled. | ||
| */ | ||
| export declare const computeWorkSyncDrift: (cwd: string, options?: { | ||
| config?: WorkConfig; | ||
| github?: GithubWorkBridge; | ||
| }) => WorkSyncDrift; | ||
| /** | ||
| * Bidirectional sync between repo-local work items and GitHub Issues when available. | ||
@@ -27,0 +47,0 @@ * |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../src/actions/work/sync.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,gBAAgB,EAMtB,MAAM,aAAa,CAAA;AAKpB,OAAO,KAAK,EACV,UAAU,EACV,QAAQ,EAET,MAAM,aAAa,CAAA;AAOpB,eAAO,MAAM,mBAAmB,GAC9B,QAAQ,UAAU,EAClB,KAAK,MAAM,EACX,SAAQ,gBAA0C,KACjD,gBAAgB,GAAG,SAGrB,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,OAAO,SAAS,QAAQ,EAAE,KAAG,GAAG,CAAC,MAAM,CAO1E,CAAA;AAMD;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GACtC,KAAK,MAAM,EACX,YAAY,SAAS,QAAQ,EAAE,EAC/B,QAAQ,gBAAgB,KACvB,QAAQ,EAKV,CAAA;AAED,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,YAAY,EAAE,MAAM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B,8EAA8E;IAC9E,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,gDAAgD;IAChD,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,kFAAkF;IAClF,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB,0CAA0C;IAC1C,aAAa,EAAE,MAAM,EAAE,CAAA;CACxB;AAED,eAAO,MAAM,kBAAkB,QAAO,aAKpC,CAAA;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,aAAa,KAAG,OAK3D,CAAA;AAmDD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAC/B,KAAK,MAAM,EACX,UAAS;IACP,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,MAAM,CAAC,EAAE,gBAAgB,CAAA;CACrB,KACL,aA4BF,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,UAAS,eAAoB;;EAsBrD,CAAA"} |
@@ -100,2 +100,8 @@ export interface RuleCommandMetadata { | ||
| }; | ||
| readonly workLint: { | ||
| readonly command: "work lint"; | ||
| readonly configKey: "workLint"; | ||
| readonly includeInRoot: true; | ||
| readonly title: "Work Lint Rules"; | ||
| }; | ||
| }; | ||
@@ -102,0 +108,0 @@ export type RuleCommandKey = keyof typeof RULE_COMMANDS; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"ruleCommandRegistry.d.ts","sourceRoot":"","sources":["../../src/lib/ruleCommandRegistry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAC3B,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4F8B,CAAA;AAExD,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,aAAa,CAAA;AAWvD,eAAO,MAAM,wBAAwB,EAAE,WAAW,CAAC,MAAM,CAGxD,CAAA;AAED,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAElE;AAED,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAGhF;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAExE"} | ||
| {"version":3,"file":"ruleCommandRegistry.d.ts","sourceRoot":"","sources":["../../src/lib/ruleCommandRegistry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAC3B,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkG8B,CAAA;AAExD,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,aAAa,CAAA;AAWvD,eAAO,MAAM,wBAAwB,EAAE,WAAW,CAAC,MAAM,CAGxD,CAAA;AAED,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAElE;AAED,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAGhF;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAExE"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"addCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/addCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAW1C,eAAO,MAAM,UAAU,EAAE,aA0FxB,CAAA"} | ||
| {"version":3,"file":"addCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/addCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAW1C,eAAO,MAAM,UAAU,EAAE,aA8FxB,CAAA"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"claimCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/claimCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAK1C,eAAO,MAAM,YAAY,EAAE,aAY1B,CAAA"} | ||
| {"version":3,"file":"claimCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/claimCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAM1C,eAAO,MAAM,YAAY,EAAE,aAkB1B,CAAA"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"doneCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/doneCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAK1C,eAAO,MAAM,WAAW,EAAE,aAqBzB,CAAA"} | ||
| {"version":3,"file":"doneCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/doneCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAM1C,eAAO,MAAM,WAAW,EAAE,aAyBzB,CAAA"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAc1C,eAAO,MAAM,WAAW,EAAE,aAoBzB,CAAA"} | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAgB1C,eAAO,MAAM,WAAW,EAAE,aAsBzB,CAAA"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"initCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/initCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAK1C,eAAO,MAAM,WAAW,EAAE,aAMzB,CAAA"} | ||
| {"version":3,"file":"initCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/initCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAM1C,eAAO,MAAM,WAAW,EAAE,aAQzB,CAAA"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"listCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/listCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAW1C,eAAO,MAAM,WAAW,EAAE,aAmCzB,CAAA"} | ||
| {"version":3,"file":"listCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/listCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAY1C,eAAO,MAAM,WAAW,EAAE,aAuCzB,CAAA"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"nextCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/nextCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAM1C,eAAO,MAAM,WAAW,EAAE,aAqBzB,CAAA"} | ||
| {"version":3,"file":"nextCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/nextCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAQ1C,eAAO,MAAM,WAAW,EAAE,aAyBzB,CAAA"} |
@@ -5,2 +5,10 @@ export declare const stringArray: (value: unknown) => string[]; | ||
| export declare const optionalString: (value: unknown) => string | undefined; | ||
| export interface WorkCliScope { | ||
| repo?: string; | ||
| workspace?: boolean; | ||
| workspaceFile?: string; | ||
| } | ||
| /** Shared --workspace / --workspace-file / --repo flags for work subcommands. */ | ||
| export declare const withWorkScopeOptions: <T>(yargs: T) => T; | ||
| export declare const scopeFromArgv: (argv: Record<string, unknown>) => WorkCliScope; | ||
| //# sourceMappingURL=options.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/options.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,GAAI,OAAO,OAAO,KAAG,MAAM,EAIlD,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,OAAO,OAAO,KAAG,MAAM,EAAE,GAAG,SAG/D,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,OAAO,OAAO,KAAG,MAAM,GAAG,SAExD,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,OAAO,OAAO,KAAG,MAAM,GAAG,SAExD,CAAA"} | ||
| {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/options.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,GAAI,OAAO,OAAO,KAAG,MAAM,EAIlD,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,OAAO,OAAO,KAAG,MAAM,EAAE,GAAG,SAG/D,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,OAAO,OAAO,KAAG,MAAM,GAAG,SAExD,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,OAAO,OAAO,KAAG,MAAM,GAAG,SAExD,CAAA;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,iFAAiF;AACjF,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAE,OAAO,CAAC,KAAG,CAmBlD,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,YAO7D,CAAA"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"queueCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/queueCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAS1C,eAAO,MAAM,YAAY,EAAE,aA0B1B,CAAA"} | ||
| {"version":3,"file":"queueCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/queueCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAW1C,eAAO,MAAM,YAAY,EAAE,aA8B1B,CAAA"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"showCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/showCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAK1C,eAAO,MAAM,WAAW,EAAE,aAYzB,CAAA"} | ||
| {"version":3,"file":"showCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/showCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAM1C,eAAO,MAAM,WAAW,EAAE,aAkBzB,CAAA"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"syncCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/syncCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAK1C,eAAO,MAAM,WAAW,EAAE,aAMzB,CAAA"} | ||
| {"version":3,"file":"syncCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/syncCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAM1C,eAAO,MAAM,WAAW,EAAE,aAQzB,CAAA"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"triageCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/triageCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAK1C,eAAO,MAAM,aAAa,EAAE,aAM3B,CAAA"} | ||
| {"version":3,"file":"triageCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/triageCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAM1C,eAAO,MAAM,aAAa,EAAE,aAQ3B,CAAA"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"updateCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/updateCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAU1C,eAAO,MAAM,aAAa,EAAE,aAqE3B,CAAA"} | ||
| {"version":3,"file":"updateCommand.d.ts","sourceRoot":"","sources":["../../../../src/xy/common/work/updateCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAU1C,eAAO,MAAM,aAAa,EAAE,aAyE3B,CAAA"} |
+5
-5
| { | ||
| "name": "@ariestools/toolchain", | ||
| "version": "8.7.23", | ||
| "version": "8.7.24", | ||
| "description": "Unified TypeScript toolchain for XY Labs — build, lint, test, deploy with auto-detected package manager and React support", | ||
@@ -56,3 +56,3 @@ "keywords": [ | ||
| "esbuild": "~0.28.1", | ||
| "@ariestools/eslint-config-flat": "~8.7.23" | ||
| "@ariestools/eslint-config-flat": "~8.7.24" | ||
| }, | ||
@@ -81,3 +81,3 @@ "devDependencies": { | ||
| "semver": "~7.8.5", | ||
| "skills": "~1.5.19", | ||
| "skills": "~1.5.20", | ||
| "sort-package-json": "~4.0.0", | ||
@@ -91,4 +91,4 @@ "table": "~6.9.0", | ||
| "yargs": "~18.0.0", | ||
| "@ariestools/tsconfig": "~8.7.23", | ||
| "@ariestools/toolchain": "~8.7.23" | ||
| "@ariestools/tsconfig": "~8.7.24", | ||
| "@ariestools/toolchain": "~8.7.24" | ||
| }, | ||
@@ -95,0 +95,0 @@ "peerDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 3 instances
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
19177682
0.75%949
1.93%185642
0.72%257
0.39%