@spekn/cli 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +58 -0
- package/dist/main.js +3707 -611
- package/dist/tui/index.mjs +2 -2
- package/package.json +29 -12
- package/dist/__tests__/export-cli.test.d.ts +0 -1
- package/dist/__tests__/export-cli.test.js +0 -70
- package/dist/__tests__/tui-args-policy.test.d.ts +0 -1
- package/dist/__tests__/tui-args-policy.test.js +0 -50
- package/dist/acp-S2MHZOAD.mjs +0 -23
- package/dist/acp-UCCI44JY.mjs +0 -25
- package/dist/auth/credentials-store.d.ts +0 -2
- package/dist/auth/credentials-store.js +0 -5
- package/dist/auth/device-flow.d.ts +0 -36
- package/dist/auth/device-flow.js +0 -189
- package/dist/auth/jwt.d.ts +0 -1
- package/dist/auth/jwt.js +0 -6
- package/dist/auth/session.d.ts +0 -67
- package/dist/auth/session.js +0 -86
- package/dist/auth-login.d.ts +0 -34
- package/dist/auth-login.js +0 -202
- package/dist/auth-logout.d.ts +0 -25
- package/dist/auth-logout.js +0 -115
- package/dist/auth-status.d.ts +0 -24
- package/dist/auth-status.js +0 -109
- package/dist/backlog-generate.d.ts +0 -11
- package/dist/backlog-generate.js +0 -308
- package/dist/backlog-health.d.ts +0 -11
- package/dist/backlog-health.js +0 -287
- package/dist/bridge-login.d.ts +0 -40
- package/dist/bridge-login.js +0 -277
- package/dist/chunk-3PAYRI4G.mjs +0 -2428
- package/dist/chunk-M4CS3A25.mjs +0 -2426
- package/dist/commands/auth/login.d.ts +0 -30
- package/dist/commands/auth/login.js +0 -164
- package/dist/commands/auth/logout.d.ts +0 -25
- package/dist/commands/auth/logout.js +0 -115
- package/dist/commands/auth/status.d.ts +0 -24
- package/dist/commands/auth/status.js +0 -109
- package/dist/commands/backlog/generate.d.ts +0 -11
- package/dist/commands/backlog/generate.js +0 -308
- package/dist/commands/backlog/health.d.ts +0 -11
- package/dist/commands/backlog/health.js +0 -287
- package/dist/commands/bridge/login.d.ts +0 -36
- package/dist/commands/bridge/login.js +0 -258
- package/dist/commands/export.d.ts +0 -35
- package/dist/commands/export.js +0 -485
- package/dist/commands/marketplace-export.d.ts +0 -21
- package/dist/commands/marketplace-export.js +0 -214
- package/dist/commands/project-clean.d.ts +0 -1
- package/dist/commands/project-clean.js +0 -126
- package/dist/commands/repo/common.d.ts +0 -105
- package/dist/commands/repo/common.js +0 -775
- package/dist/commands/repo/detach.d.ts +0 -2
- package/dist/commands/repo/detach.js +0 -120
- package/dist/commands/repo/register.d.ts +0 -21
- package/dist/commands/repo/register.js +0 -175
- package/dist/commands/repo/sync.d.ts +0 -22
- package/dist/commands/repo/sync.js +0 -873
- package/dist/commands/skills-import-local.d.ts +0 -16
- package/dist/commands/skills-import-local.js +0 -352
- package/dist/commands/spec/drift-check.d.ts +0 -3
- package/dist/commands/spec/drift-check.js +0 -186
- package/dist/commands/spec/frontmatter.d.ts +0 -11
- package/dist/commands/spec/frontmatter.js +0 -219
- package/dist/commands/spec/lint.d.ts +0 -11
- package/dist/commands/spec/lint.js +0 -499
- package/dist/commands/spec/parse.d.ts +0 -11
- package/dist/commands/spec/parse.js +0 -162
- package/dist/export.d.ts +0 -35
- package/dist/export.js +0 -485
- package/dist/main.d.ts +0 -1
- package/dist/marketplace-export.d.ts +0 -21
- package/dist/marketplace-export.js +0 -214
- package/dist/project-clean.d.ts +0 -1
- package/dist/project-clean.js +0 -126
- package/dist/project-context.d.ts +0 -99
- package/dist/project-context.js +0 -376
- package/dist/repo-common.d.ts +0 -101
- package/dist/repo-common.js +0 -671
- package/dist/repo-detach.d.ts +0 -2
- package/dist/repo-detach.js +0 -102
- package/dist/repo-ingest.d.ts +0 -29
- package/dist/repo-ingest.js +0 -305
- package/dist/repo-register.d.ts +0 -21
- package/dist/repo-register.js +0 -175
- package/dist/repo-sync.d.ts +0 -16
- package/dist/repo-sync.js +0 -152
- package/dist/resources/prompt-loader.d.ts +0 -1
- package/dist/resources/prompt-loader.js +0 -62
- package/dist/skills-import-local.d.ts +0 -16
- package/dist/skills-import-local.js +0 -352
- package/dist/spec-drift-check.d.ts +0 -3
- package/dist/spec-drift-check.js +0 -186
- package/dist/spec-frontmatter.d.ts +0 -11
- package/dist/spec-frontmatter.js +0 -219
- package/dist/spec-lint.d.ts +0 -11
- package/dist/spec-lint.js +0 -499
- package/dist/spec-parse.d.ts +0 -11
- package/dist/spec-parse.js +0 -162
- package/dist/stubs/dotenv.d.ts +0 -5
- package/dist/stubs/dotenv.js +0 -6
- package/dist/stubs/typeorm.d.ts +0 -22
- package/dist/stubs/typeorm.js +0 -28
- package/dist/tui/app.d.ts +0 -7
- package/dist/tui/app.js +0 -122
- package/dist/tui/args.d.ts +0 -8
- package/dist/tui/args.js +0 -57
- package/dist/tui/capabilities/policy.d.ts +0 -7
- package/dist/tui/capabilities/policy.js +0 -64
- package/dist/tui/components/frame.d.ts +0 -8
- package/dist/tui/components/frame.js +0 -8
- package/dist/tui/components/status-bar.d.ts +0 -8
- package/dist/tui/components/status-bar.js +0 -8
- package/dist/tui/index.d.ts +0 -2
- package/dist/tui/index.js +0 -23
- package/dist/tui/keymap/use-global-keymap.d.ts +0 -19
- package/dist/tui/keymap/use-global-keymap.js +0 -82
- package/dist/tui/navigation/nav-items.d.ts +0 -3
- package/dist/tui/navigation/nav-items.js +0 -18
- package/dist/tui/screens/bridge.d.ts +0 -8
- package/dist/tui/screens/bridge.js +0 -19
- package/dist/tui/screens/decisions.d.ts +0 -5
- package/dist/tui/screens/decisions.js +0 -28
- package/dist/tui/screens/export.d.ts +0 -5
- package/dist/tui/screens/export.js +0 -16
- package/dist/tui/screens/home.d.ts +0 -5
- package/dist/tui/screens/home.js +0 -33
- package/dist/tui/screens/locked.d.ts +0 -5
- package/dist/tui/screens/locked.js +0 -9
- package/dist/tui/screens/specs.d.ts +0 -5
- package/dist/tui/screens/specs.js +0 -31
- package/dist/tui/services/client.d.ts +0 -1
- package/dist/tui/services/client.js +0 -18
- package/dist/tui/services/context-service.d.ts +0 -19
- package/dist/tui/services/context-service.js +0 -246
- package/dist/tui/shared-enums.d.ts +0 -16
- package/dist/tui/shared-enums.js +0 -19
- package/dist/tui/state/use-app-state.d.ts +0 -35
- package/dist/tui/state/use-app-state.js +0 -177
- package/dist/tui/types.d.ts +0 -77
- package/dist/tui/types.js +0 -2
- package/dist/tui-bundle.d.ts +0 -1
- package/dist/tui-bundle.js +0 -5
- package/dist/tui-entry.mjs +0 -1407
- package/dist/utils/cli-runtime.d.ts +0 -5
- package/dist/utils/cli-runtime.js +0 -22
- package/dist/utils/help-error.d.ts +0 -7
- package/dist/utils/help-error.js +0 -14
- package/dist/utils/interaction.d.ts +0 -19
- package/dist/utils/interaction.js +0 -93
- package/dist/utils/structured-log.d.ts +0 -7
- package/dist/utils/structured-log.js +0 -112
- package/dist/utils/trpc-url.d.ts +0 -4
- package/dist/utils/trpc-url.js +0 -15
package/dist/tui/types.d.ts
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import type { OrganizationPlan, WorkflowPhase } from './shared-enums';
|
|
2
|
-
export type TuiScreenId = 'home' | 'specs' | 'export' | 'decisions' | 'bridge' | 'active-runs' | 'phase-gates' | 'skills-marketplace' | 'org-governance';
|
|
3
|
-
export type TuiRole = 'owner' | 'admin' | 'member' | 'viewer';
|
|
4
|
-
export type ActionState = 'enabled' | 'disabled' | 'locked';
|
|
5
|
-
export interface CapabilityContext {
|
|
6
|
-
plan: OrganizationPlan;
|
|
7
|
-
role: TuiRole;
|
|
8
|
-
workflowPhase: WorkflowPhase | null;
|
|
9
|
-
permissions: string[];
|
|
10
|
-
}
|
|
11
|
-
export interface NavItemPolicy {
|
|
12
|
-
id: TuiScreenId;
|
|
13
|
-
label: string;
|
|
14
|
-
description: string;
|
|
15
|
-
requiredPlan: OrganizationPlan;
|
|
16
|
-
state: ActionState;
|
|
17
|
-
reason?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface TuiBootContext {
|
|
20
|
-
apiUrl: string;
|
|
21
|
-
organizationId: string;
|
|
22
|
-
organizationName: string;
|
|
23
|
-
role: TuiRole;
|
|
24
|
-
plan: OrganizationPlan;
|
|
25
|
-
projectId: string;
|
|
26
|
-
projectName: string;
|
|
27
|
-
permissions: string[];
|
|
28
|
-
}
|
|
29
|
-
export interface SpecListItem {
|
|
30
|
-
id: string;
|
|
31
|
-
title: string;
|
|
32
|
-
status: string;
|
|
33
|
-
version: string;
|
|
34
|
-
updatedAt?: string;
|
|
35
|
-
type?: string;
|
|
36
|
-
}
|
|
37
|
-
export interface DecisionListItem {
|
|
38
|
-
id: string;
|
|
39
|
-
title: string;
|
|
40
|
-
status: string;
|
|
41
|
-
decisionType: string;
|
|
42
|
-
specAnchor?: string | null;
|
|
43
|
-
createdAt?: string;
|
|
44
|
-
}
|
|
45
|
-
export interface WorkflowSummary {
|
|
46
|
-
currentPhase: WorkflowPhase | null;
|
|
47
|
-
blockedCount: number;
|
|
48
|
-
hasVerificationEvidence: boolean;
|
|
49
|
-
hasPlanningArtifacts: boolean;
|
|
50
|
-
}
|
|
51
|
-
export interface BridgeSummary {
|
|
52
|
-
featureEnabled: boolean;
|
|
53
|
-
devices: Array<{
|
|
54
|
-
id: string;
|
|
55
|
-
name: string;
|
|
56
|
-
status: string;
|
|
57
|
-
isDefault: boolean;
|
|
58
|
-
lastSeenAt?: string | null;
|
|
59
|
-
}>;
|
|
60
|
-
connectedDevices: number;
|
|
61
|
-
authFailures: number;
|
|
62
|
-
}
|
|
63
|
-
export interface LocalBridgeSummary {
|
|
64
|
-
paired: boolean;
|
|
65
|
-
deviceId?: string;
|
|
66
|
-
deviceName?: string;
|
|
67
|
-
port: number;
|
|
68
|
-
running: boolean;
|
|
69
|
-
uptimeSec?: number;
|
|
70
|
-
}
|
|
71
|
-
export type ExportFormat = 'claude-md' | 'cursorrules';
|
|
72
|
-
export interface ExportPreview {
|
|
73
|
-
content: string;
|
|
74
|
-
anchorCount: number;
|
|
75
|
-
specVersion?: string;
|
|
76
|
-
warnings?: string[];
|
|
77
|
-
}
|
package/dist/tui/types.js
DELETED
package/dist/tui-bundle.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { runTuiCli } from "@spekn/tui";
|
package/dist/tui-bundle.js
DELETED