@numa-tech/numa 1.13.1 → 1.13.2
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 +59 -5
- package/dist/application-onboarding/client.d.ts +37 -3
- package/dist/application-onboarding/client.js +31 -2
- package/dist/application-onboarding/client.js.map +1 -1
- package/dist/application-onboarding/commands.d.ts +2 -0
- package/dist/application-onboarding/commands.js +202 -6
- package/dist/application-onboarding/commands.js.map +1 -1
- package/dist/application-onboarding/schemas.d.ts +772 -0
- package/dist/application-onboarding/schemas.js +315 -3
- package/dist/application-onboarding/schemas.js.map +1 -1
- package/dist/cli.js +6 -1
- package/dist/cli.js.map +1 -1
- package/dist/command-catalog.js +154 -2
- package/dist/command-catalog.js.map +1 -1
- package/dist/gitops/schemas.js +2 -1
- package/dist/gitops/schemas.js.map +1 -1
- package/dist/jenkins-jobs/client.d.ts +319 -0
- package/dist/jenkins-jobs/client.js +136 -0
- package/dist/jenkins-jobs/client.js.map +1 -0
- package/dist/jenkins-jobs/commands.d.ts +6 -0
- package/dist/jenkins-jobs/commands.js +239 -0
- package/dist/jenkins-jobs/commands.js.map +1 -0
- package/dist/jenkins-jobs/schemas.d.ts +359 -0
- package/dist/jenkins-jobs/schemas.js +119 -0
- package/dist/jenkins-jobs/schemas.js.map +1 -0
- package/dist/publications/client.d.ts +181 -0
- package/dist/publications/client.js +147 -0
- package/dist/publications/client.js.map +1 -0
- package/dist/publications/commands.d.ts +8 -0
- package/dist/publications/commands.js +202 -0
- package/dist/publications/commands.js.map +1 -0
- package/dist/publications/scanner.d.ts +23 -0
- package/dist/publications/scanner.js +247 -0
- package/dist/publications/scanner.js.map +1 -0
- package/dist/publications/schemas.d.ts +164 -0
- package/dist/publications/schemas.js +90 -0
- package/dist/publications/schemas.js.map +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PublicationFileModeSchema: z.ZodEnum<{
|
|
3
|
+
100644: "100644";
|
|
4
|
+
100755: "100755";
|
|
5
|
+
}>;
|
|
6
|
+
export declare const PublicationPlanStateSchema: z.ZodEnum<{
|
|
7
|
+
BLOCKED: "BLOCKED";
|
|
8
|
+
CONSUMED: "CONSUMED";
|
|
9
|
+
EXPIRED: "EXPIRED";
|
|
10
|
+
READY: "READY";
|
|
11
|
+
}>;
|
|
12
|
+
export declare const PublicationModeSchema: z.ZodEnum<{
|
|
13
|
+
CAS_COMMIT: "CAS_COMMIT";
|
|
14
|
+
INITIAL_COMMIT: "INITIAL_COMMIT";
|
|
15
|
+
}>;
|
|
16
|
+
export declare const PublicationRunStateSchema: z.ZodEnum<{
|
|
17
|
+
ACCEPTED: "ACCEPTED";
|
|
18
|
+
FAILED: "FAILED";
|
|
19
|
+
NEEDS_ATTENTION: "NEEDS_ATTENTION";
|
|
20
|
+
PUBLISHING: "PUBLISHING";
|
|
21
|
+
SUCCEEDED: "SUCCEEDED";
|
|
22
|
+
VALIDATING: "VALIDATING";
|
|
23
|
+
VERIFYING: "VERIFYING";
|
|
24
|
+
WAITING_RETRY: "WAITING_RETRY";
|
|
25
|
+
}>;
|
|
26
|
+
export declare const PublicationInputFileSchema: z.ZodObject<{
|
|
27
|
+
path: z.ZodString;
|
|
28
|
+
mode: z.ZodEnum<{
|
|
29
|
+
100644: "100644";
|
|
30
|
+
100755: "100755";
|
|
31
|
+
}>;
|
|
32
|
+
contentBase64: z.ZodString;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
export declare const PublicationPlanRequestSchema: z.ZodObject<{
|
|
35
|
+
clientRequestId: z.ZodString;
|
|
36
|
+
repositoryKey: z.ZodString;
|
|
37
|
+
sourceRevision: z.ZodString;
|
|
38
|
+
sourceTreeDigest: z.ZodString;
|
|
39
|
+
clean: z.ZodLiteral<true>;
|
|
40
|
+
commitMessage: z.ZodString;
|
|
41
|
+
files: z.ZodArray<z.ZodObject<{
|
|
42
|
+
path: z.ZodString;
|
|
43
|
+
mode: z.ZodEnum<{
|
|
44
|
+
100644: "100644";
|
|
45
|
+
100755: "100755";
|
|
46
|
+
}>;
|
|
47
|
+
contentBase64: z.ZodString;
|
|
48
|
+
}, z.core.$strict>>;
|
|
49
|
+
}, z.core.$strict>;
|
|
50
|
+
export declare const PublicationManifestEntrySchema: z.ZodObject<{
|
|
51
|
+
path: z.ZodString;
|
|
52
|
+
mode: z.ZodEnum<{
|
|
53
|
+
100644: "100644";
|
|
54
|
+
100755: "100755";
|
|
55
|
+
}>;
|
|
56
|
+
size: z.ZodNumber;
|
|
57
|
+
sha256: z.ZodString;
|
|
58
|
+
action: z.ZodEnum<{
|
|
59
|
+
CREATE: "CREATE";
|
|
60
|
+
UPDATE: "UPDATE";
|
|
61
|
+
}>;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
export declare const PublicationPlanSchema: z.ZodObject<{
|
|
64
|
+
planNo: z.ZodString;
|
|
65
|
+
state: z.ZodEnum<{
|
|
66
|
+
BLOCKED: "BLOCKED";
|
|
67
|
+
CONSUMED: "CONSUMED";
|
|
68
|
+
EXPIRED: "EXPIRED";
|
|
69
|
+
READY: "READY";
|
|
70
|
+
}>;
|
|
71
|
+
planHash: z.ZodString;
|
|
72
|
+
repositoryKey: z.ZodString;
|
|
73
|
+
ownerTeamId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
74
|
+
consumerType: z.ZodString;
|
|
75
|
+
consumerRef: z.ZodString;
|
|
76
|
+
publicationMode: z.ZodEnum<{
|
|
77
|
+
CAS_COMMIT: "CAS_COMMIT";
|
|
78
|
+
INITIAL_COMMIT: "INITIAL_COMMIT";
|
|
79
|
+
}>;
|
|
80
|
+
branch: z.ZodString;
|
|
81
|
+
expectedHead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
83
|
+
path: z.ZodString;
|
|
84
|
+
mode: z.ZodEnum<{
|
|
85
|
+
100644: "100644";
|
|
86
|
+
100755: "100755";
|
|
87
|
+
}>;
|
|
88
|
+
size: z.ZodNumber;
|
|
89
|
+
sha256: z.ZodString;
|
|
90
|
+
action: z.ZodEnum<{
|
|
91
|
+
CREATE: "CREATE";
|
|
92
|
+
UPDATE: "UPDATE";
|
|
93
|
+
}>;
|
|
94
|
+
}, z.core.$strip>>;
|
|
95
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
96
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
|
+
message: z.ZodString;
|
|
99
|
+
}, z.core.$strip>]>>>;
|
|
100
|
+
blockers: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
101
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
103
|
+
message: z.ZodString;
|
|
104
|
+
}, z.core.$strip>]>>>;
|
|
105
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
export declare const PublicationRunCreateSchema: z.ZodObject<{
|
|
108
|
+
planNo: z.ZodString;
|
|
109
|
+
planHash: z.ZodString;
|
|
110
|
+
clientRequestId: z.ZodString;
|
|
111
|
+
}, z.core.$strict>;
|
|
112
|
+
export declare const PublicationRunSchema: z.ZodObject<{
|
|
113
|
+
runNo: z.ZodString;
|
|
114
|
+
planNo: z.ZodString;
|
|
115
|
+
state: z.ZodEnum<{
|
|
116
|
+
ACCEPTED: "ACCEPTED";
|
|
117
|
+
FAILED: "FAILED";
|
|
118
|
+
NEEDS_ATTENTION: "NEEDS_ATTENTION";
|
|
119
|
+
PUBLISHING: "PUBLISHING";
|
|
120
|
+
SUCCEEDED: "SUCCEEDED";
|
|
121
|
+
VALIDATING: "VALIDATING";
|
|
122
|
+
VERIFYING: "VERIFYING";
|
|
123
|
+
WAITING_RETRY: "WAITING_RETRY";
|
|
124
|
+
}>;
|
|
125
|
+
stepCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
|
+
repositoryKey: z.ZodString;
|
|
127
|
+
beforeRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
128
|
+
afterRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
129
|
+
manifestDigest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
130
|
+
filesWritten: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
131
|
+
retryable: z.ZodDefault<z.ZodBoolean>;
|
|
132
|
+
errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
134
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
|
+
startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
136
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
export declare const PublicationRunEventSchema: z.ZodObject<{
|
|
139
|
+
sequenceNo: z.ZodNumber;
|
|
140
|
+
eventType: z.ZodString;
|
|
141
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
142
|
+
stepCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
143
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
144
|
+
errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
145
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
+
occurredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
147
|
+
}, z.core.$strip>;
|
|
148
|
+
export declare const PublicationRunEventListSchema: z.ZodObject<{
|
|
149
|
+
items: z.ZodArray<z.ZodObject<{
|
|
150
|
+
sequenceNo: z.ZodNumber;
|
|
151
|
+
eventType: z.ZodString;
|
|
152
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
153
|
+
stepCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
154
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
155
|
+
errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
156
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
157
|
+
occurredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
158
|
+
}, z.core.$strip>>;
|
|
159
|
+
nextSequence: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
export type PublicationPlanRequest = z.infer<typeof PublicationPlanRequestSchema>;
|
|
162
|
+
export type PublicationPlan = z.infer<typeof PublicationPlanSchema>;
|
|
163
|
+
export type PublicationRun = z.infer<typeof PublicationRunSchema>;
|
|
164
|
+
export type PublicationRunEventList = z.infer<typeof PublicationRunEventListSchema>;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
const NonEmptyString = z.string().trim().min(1);
|
|
3
|
+
const OptionalString = NonEmptyString.nullable().optional();
|
|
4
|
+
const Sha256 = z.string().regex(/^[0-9a-f]{64}$/u);
|
|
5
|
+
const GitRevision = z.string().regex(/^[0-9a-f]{40,64}$/u);
|
|
6
|
+
export const PublicationFileModeSchema = z.enum(["100644", "100755"]);
|
|
7
|
+
export const PublicationPlanStateSchema = z.enum(["READY", "BLOCKED", "CONSUMED", "EXPIRED"]);
|
|
8
|
+
export const PublicationModeSchema = z.enum(["INITIAL_COMMIT", "CAS_COMMIT"]);
|
|
9
|
+
export const PublicationRunStateSchema = z.enum([
|
|
10
|
+
"ACCEPTED", "VALIDATING", "PUBLISHING", "VERIFYING", "WAITING_RETRY",
|
|
11
|
+
"SUCCEEDED", "FAILED", "NEEDS_ATTENTION"
|
|
12
|
+
]);
|
|
13
|
+
export const PublicationInputFileSchema = z.object({
|
|
14
|
+
path: NonEmptyString,
|
|
15
|
+
mode: PublicationFileModeSchema,
|
|
16
|
+
contentBase64: z.string()
|
|
17
|
+
}).strict();
|
|
18
|
+
export const PublicationPlanRequestSchema = z.object({
|
|
19
|
+
clientRequestId: NonEmptyString,
|
|
20
|
+
repositoryKey: NonEmptyString,
|
|
21
|
+
sourceRevision: GitRevision,
|
|
22
|
+
sourceTreeDigest: Sha256,
|
|
23
|
+
clean: z.literal(true),
|
|
24
|
+
commitMessage: NonEmptyString.max(500),
|
|
25
|
+
files: z.array(PublicationInputFileSchema).min(1).max(1024)
|
|
26
|
+
}).strict();
|
|
27
|
+
export const PublicationManifestEntrySchema = z.object({
|
|
28
|
+
path: NonEmptyString,
|
|
29
|
+
mode: PublicationFileModeSchema,
|
|
30
|
+
size: z.number().int().nonnegative(),
|
|
31
|
+
sha256: Sha256,
|
|
32
|
+
action: z.enum(["CREATE", "UPDATE"])
|
|
33
|
+
});
|
|
34
|
+
const PlanMessageSchema = z.union([
|
|
35
|
+
NonEmptyString,
|
|
36
|
+
z.object({ code: OptionalString, path: OptionalString, message: NonEmptyString })
|
|
37
|
+
]);
|
|
38
|
+
export const PublicationPlanSchema = z.object({
|
|
39
|
+
planNo: NonEmptyString,
|
|
40
|
+
state: PublicationPlanStateSchema,
|
|
41
|
+
planHash: Sha256,
|
|
42
|
+
repositoryKey: NonEmptyString,
|
|
43
|
+
ownerTeamId: z.union([z.number().int().positive(), NonEmptyString]).nullable().optional(),
|
|
44
|
+
consumerType: NonEmptyString,
|
|
45
|
+
consumerRef: NonEmptyString,
|
|
46
|
+
publicationMode: PublicationModeSchema,
|
|
47
|
+
branch: NonEmptyString,
|
|
48
|
+
expectedHead: OptionalString,
|
|
49
|
+
manifest: z.array(PublicationManifestEntrySchema),
|
|
50
|
+
warnings: z.array(PlanMessageSchema).default([]),
|
|
51
|
+
blockers: z.array(PlanMessageSchema).default([]),
|
|
52
|
+
expiresAt: OptionalString
|
|
53
|
+
});
|
|
54
|
+
export const PublicationRunCreateSchema = z.object({
|
|
55
|
+
planNo: NonEmptyString,
|
|
56
|
+
planHash: Sha256,
|
|
57
|
+
clientRequestId: NonEmptyString
|
|
58
|
+
}).strict();
|
|
59
|
+
export const PublicationRunSchema = z.object({
|
|
60
|
+
runNo: NonEmptyString,
|
|
61
|
+
planNo: NonEmptyString,
|
|
62
|
+
state: PublicationRunStateSchema,
|
|
63
|
+
stepCode: OptionalString,
|
|
64
|
+
repositoryKey: NonEmptyString,
|
|
65
|
+
beforeRevision: OptionalString,
|
|
66
|
+
afterRevision: OptionalString,
|
|
67
|
+
manifestDigest: OptionalString,
|
|
68
|
+
filesWritten: z.number().int().nonnegative().nullable().optional(),
|
|
69
|
+
retryable: z.boolean().default(false),
|
|
70
|
+
errorCode: OptionalString,
|
|
71
|
+
errorMessage: OptionalString,
|
|
72
|
+
createdAt: OptionalString,
|
|
73
|
+
startedAt: OptionalString,
|
|
74
|
+
completedAt: OptionalString
|
|
75
|
+
});
|
|
76
|
+
export const PublicationRunEventSchema = z.object({
|
|
77
|
+
sequenceNo: z.number().int().nonnegative(),
|
|
78
|
+
eventType: NonEmptyString,
|
|
79
|
+
state: OptionalString,
|
|
80
|
+
stepCode: OptionalString,
|
|
81
|
+
message: OptionalString,
|
|
82
|
+
errorCode: OptionalString,
|
|
83
|
+
retryable: z.boolean().optional(),
|
|
84
|
+
occurredAt: OptionalString
|
|
85
|
+
});
|
|
86
|
+
export const PublicationRunEventListSchema = z.object({
|
|
87
|
+
items: z.array(PublicationRunEventSchema),
|
|
88
|
+
nextSequence: z.number().int().nonnegative().nullable().default(null)
|
|
89
|
+
});
|
|
90
|
+
//# sourceMappingURL=schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../src/publications/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EA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AE,cAAc;IACzB,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,cAAc;IACxB,OAAO,EAAE,cAAc;IACvB,SAAS,EAAE,cAAc;IACzB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,cAAc;CAC3B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC;IACzC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;CACtE,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@numa-tech/numa",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.2",
|
|
4
4
|
"description": "Cross-platform CLI for the Numa internal developer platform with Keycloak authentication and MCP support.",
|
|
5
5
|
"author": "numa-tech",
|
|
6
6
|
"keywords": [
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"typecheck": "turbo run typecheck root:typecheck",
|
|
33
33
|
"root:typecheck": "tsc --noEmit",
|
|
34
34
|
"test": "turbo run test root:test",
|
|
35
|
-
"root:test": "node --import tsx --test src/branding.test.ts src/app-config.test.ts src/platform-profile.test.ts src/identity.test.ts src/backend.test.ts src/oauth.test.ts src/web-console.test.ts src/cli-options.test.ts src/ai-registry/client.test.ts src/ai-registry/workspace.test.ts src/ai-registry/namespace.test.ts src/ai-registry/sync.test.ts src/ai-registry/bridge.test.ts src/ai-registry/skill-installer.test.ts src/ai-registry/mcp-installer.test.ts src/media/client.test.ts src/media/commands.test.ts src/media/transfers.test.ts src/pipeline/client.test.ts src/pipeline/commands.test.ts src/gitops/client.test.ts src/gitops/commands.test.ts src/repositories/client.test.ts src/repositories/commands.test.ts src/clusters/client.test.ts src/clusters/commands.test.ts src/clusters/kubeconfig-discovery.test.ts src/authorization/client.test.ts src/authorization/commands.test.ts src/authorization/access-request-client.test.ts src/authorization/access-request-commands.test.ts src/application-candidates/client.test.ts src/application-candidates/commands.test.ts src/application-onboarding/client.test.ts src/application-onboarding/commands.test.ts src/application-onboarding/tui.test.ts src/chatgpt-desktop.test.ts src/codex-integration.test.ts scripts/release-all.test.mjs",
|
|
35
|
+
"root:test": "node --import tsx --test src/branding.test.ts src/app-config.test.ts src/platform-profile.test.ts src/identity.test.ts src/backend.test.ts src/oauth.test.ts src/web-console.test.ts src/cli-options.test.ts src/ai-registry/client.test.ts src/ai-registry/workspace.test.ts src/ai-registry/namespace.test.ts src/ai-registry/sync.test.ts src/ai-registry/bridge.test.ts src/ai-registry/skill-installer.test.ts src/ai-registry/mcp-installer.test.ts src/media/client.test.ts src/media/commands.test.ts src/media/transfers.test.ts src/pipeline/client.test.ts src/pipeline/commands.test.ts src/gitops/client.test.ts src/gitops/commands.test.ts src/repositories/client.test.ts src/repositories/commands.test.ts src/publications/scanner.test.ts src/publications/client.test.ts src/publications/commands.test.ts src/jenkins-jobs/client.test.ts src/jenkins-jobs/commands.test.ts src/clusters/client.test.ts src/clusters/commands.test.ts src/clusters/kubeconfig-discovery.test.ts src/authorization/client.test.ts src/authorization/commands.test.ts src/authorization/access-request-client.test.ts src/authorization/access-request-commands.test.ts src/application-candidates/client.test.ts src/application-candidates/commands.test.ts src/application-onboarding/client.test.ts src/application-onboarding/commands.test.ts src/application-onboarding/tui.test.ts src/chatgpt-desktop.test.ts src/codex-integration.test.ts scripts/release-all.test.mjs",
|
|
36
36
|
"pack:check": "turbo run pack:check root:pack:check",
|
|
37
37
|
"root:pack:check": "node scripts/check-root-package.mjs",
|
|
38
38
|
"boundaries": "node scripts/check-workspace-boundaries.mjs",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@clack/prompts": "^1.7.0",
|
|
57
57
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
58
|
-
"@numa-tech/cli-auth": "1.13.
|
|
59
|
-
"@tokensrc/codex": "1.13.
|
|
58
|
+
"@numa-tech/cli-auth": "1.13.2",
|
|
59
|
+
"@tokensrc/codex": "1.13.2",
|
|
60
60
|
"commander": "^14.0.3",
|
|
61
61
|
"ink": "^6.8.0",
|
|
62
62
|
"open": "^10.2.0",
|