@andpipes/cli 0.1.4 → 0.1.5
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/dist/bin.cjs +212 -29
- package/dist/bin.js +1 -1
- package/dist/{chunk-VFSDVWMN.js → chunk-2PG5NEI2.js} +218 -31
- package/dist/index.cjs +212 -29
- package/dist/index.d.cts +63 -7
- package/dist/index.d.ts +63 -7
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SupportedLocale, CliDevWorkflowMessages, CliInitWorkflowMessages, CliOAuthScopeRegistrationMessages, CliPublishWorkflowMessages } from '@andpipes/localization';
|
|
1
|
+
import { SupportedLocale, CliDevWorkflowMessages, CliInitWorkflowMessages, CliOAuthScopeRegistrationMessages, CliPublishWorkflowMessages, CliPublicationSchemaReviewMessages } from '@andpipes/localization';
|
|
2
2
|
import { Command } from 'commander';
|
|
3
3
|
import { ValidateReport, PublishGateResult, OpenApiImportUpstreamAuthMode, OpenApiImportOperationRiskOverride, OnboardingTemplateOperation, OnboardingTemplateSafeDiffEntry, ExternalSaasTemplateV1, OnboardingTemplateBindings, OAuthScopeRegistrationResponse, OAuthScopeRegistrationErrorReason } from '@andpipes/tool-contract';
|
|
4
4
|
export { CheckResult, CheckStatus, RISK_LEVELS, RiskLevel, ValidateReport, validateContract } from '@andpipes/tool-contract';
|
|
@@ -529,6 +529,37 @@ declare function runInitCommand(options: InitCommandOptions, writer: Writer, cwd
|
|
|
529
529
|
/** CLI登録。production backend adapterはfactoryとして注入し、unit testは実networkを使わない。 */
|
|
530
530
|
declare function registerInit(program: Command, writer: Writer, cwd: () => string, createClient: InitApiFactory, description?: string, runtime?: InitCommandRuntime | undefined, messages?: CliInitWorkflowMessages, scopeRegistrationMessages?: CliOAuthScopeRegistrationMessages): void;
|
|
531
531
|
|
|
532
|
+
/**
|
|
533
|
+
* Publication review profile 2(#730 / ADR-730 §6.2・§6.7)のCLI側transport契約。
|
|
534
|
+
*
|
|
535
|
+
* - CLIはplan / 初回apply / 最終applyへ`Andpipe-Publication-Review-Profile: 2`(扱える最大profile)を送る。
|
|
536
|
+
* - plan応答のheaderはcommand層がexactに検査する。transportは生値(無ければnull)だけを返し、表示しない。
|
|
537
|
+
* - server error detailsの`reason`は、固定allowlistとAP codeの組が一致した場合だけ保持する。
|
|
538
|
+
* server message・未知details・未知reasonはCLIの表示へ転載しない。
|
|
539
|
+
*/
|
|
540
|
+
/** CLI 0.1.5が扱える最大のreview profile。plan / 初回apply / 最終applyのrequest headerへ送る。 */
|
|
541
|
+
declare const CLI_PUBLICATION_REVIEW_PROFILE: 2;
|
|
542
|
+
/** plan / 初回apply / 最終applyへreview profileのrequest headerを付けるときのoption。 */
|
|
543
|
+
interface PublicationReviewProfileRequestOptions {
|
|
544
|
+
readonly reviewProfile: typeof CLI_PUBLICATION_REVIEW_PROFILE;
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* review profile headerを付けたplanのtransport応答。bodyはexact parse前の値。
|
|
548
|
+
* `reviewProfileHeader`はresponse headerの生値(無ければnull)で、command層が`1` / `2`だけを受理する。
|
|
549
|
+
*/
|
|
550
|
+
interface PublicationPlanTransportResponse {
|
|
551
|
+
readonly body: unknown;
|
|
552
|
+
readonly reviewProfileHeader: string | null;
|
|
553
|
+
}
|
|
554
|
+
/** server error detailsから保持してよいpublication reasonと、そのreasonを返すAP code。 */
|
|
555
|
+
declare const PUBLICATION_ERROR_REASON_CODES: Readonly<{
|
|
556
|
+
readonly publication_plan_stale: "AP_CONFLICT";
|
|
557
|
+
readonly publication_review_profile_invalid: "AP_INPUT_INVALID";
|
|
558
|
+
readonly publication_schema_review_too_large: "AP_INPUT_INVALID";
|
|
559
|
+
readonly schema_review_receipt_mismatch: "AP_CONFLICT";
|
|
560
|
+
}>;
|
|
561
|
+
type PublicationErrorReason = keyof typeof PUBLICATION_ERROR_REASON_CODES;
|
|
562
|
+
|
|
532
563
|
/** Admin bearer credential を送信してよい唯一の production origin。 */
|
|
533
564
|
declare const ADMIN_API_ORIGIN = "https://api.andpipe.com";
|
|
534
565
|
declare const ADMIN_API_TIMEOUT_MS = 10000;
|
|
@@ -569,6 +600,10 @@ interface AdminApiClientErrorSafeDetails {
|
|
|
569
600
|
readonly scopeRegistrationReason?: OAuthScopeRegistrationErrorReason;
|
|
570
601
|
/** publish gate失敗 (`scope_registration_publish_gate_failed`) の厳格検証済みtool名。 */
|
|
571
602
|
readonly publishGateToolNames?: readonly string[];
|
|
603
|
+
/**
|
|
604
|
+
* tool publication (#730) の`details.reason`が固定allowlistとAP codeの組に一致した場合だけ保持する固定code。
|
|
605
|
+
*/
|
|
606
|
+
readonly publicationReason?: PublicationErrorReason;
|
|
572
607
|
}
|
|
573
608
|
declare class AdminApiClientError extends Error {
|
|
574
609
|
readonly code: string;
|
|
@@ -578,6 +613,7 @@ declare class AdminApiClientError extends Error {
|
|
|
578
613
|
readonly detailsAbsent: boolean;
|
|
579
614
|
readonly scopeRegistrationReason: OAuthScopeRegistrationErrorReason | undefined;
|
|
580
615
|
readonly publishGateToolNames: readonly string[] | undefined;
|
|
616
|
+
readonly publicationReason: PublicationErrorReason | undefined;
|
|
581
617
|
constructor(code: string, message: string, status?: number, confirmationRequired?: PublicationConfirmationRequiredDetails, openApiAuthModeMismatch?: OpenApiImportAuthModeMismatch, safeDetails?: AdminApiClientErrorSafeDetails);
|
|
582
618
|
}
|
|
583
619
|
declare function assertProjectId(projectId: string): string;
|
|
@@ -637,6 +673,10 @@ interface AdminPublicationApplyRequest extends AdminPublicationPlanRequest {
|
|
|
637
673
|
readonly planCommitment: string;
|
|
638
674
|
readonly confirmation: AdminPublicationConfirmation | null;
|
|
639
675
|
}
|
|
676
|
+
/** plan / 初回apply / 最終applyへ`Andpipe-Publication-Review-Profile: 2`を送るoption (#730)。 */
|
|
677
|
+
type AdminPublicationReviewProfileOptions = PublicationReviewProfileRequestOptions;
|
|
678
|
+
/** review profile header付きplanの応答。headerの値はcommand層がexactに検査する (#730)。 */
|
|
679
|
+
type AdminPublicationPlanResponse = PublicationPlanTransportResponse;
|
|
640
680
|
interface OpenApiImportRequest {
|
|
641
681
|
readonly source: string;
|
|
642
682
|
readonly connectorId: string;
|
|
@@ -1042,8 +1082,18 @@ declare class AdminApiClient {
|
|
|
1042
1082
|
readonly config: Readonly<Record<string, unknown>> | null;
|
|
1043
1083
|
readonly status: "active" | "disabled";
|
|
1044
1084
|
}>;
|
|
1085
|
+
/**
|
|
1086
|
+
* `tool-publications:plan`。optionsなしは従来どおりheaderを送らずbodyだけを返す(v1)。
|
|
1087
|
+
* options付き (#730) は`Andpipe-Publication-Review-Profile`を送り、bodyとresponse headerの生値を返す。
|
|
1088
|
+
* request bodyはどちらもbyte単位で同じにする。
|
|
1089
|
+
*/
|
|
1045
1090
|
planPublication(projectId: string, body: AdminPublicationPlanRequest): Promise<unknown>;
|
|
1046
|
-
|
|
1091
|
+
planPublication(projectId: string, body: AdminPublicationPlanRequest, options: AdminPublicationReviewProfileOptions): Promise<AdminPublicationPlanResponse>;
|
|
1092
|
+
/**
|
|
1093
|
+
* 初回apply(confirmation=null)と承認済みapply。options付き (#730) だけreview profile headerを送る。
|
|
1094
|
+
* request bodyとIdempotency-Keyはheaderの有無で変えない。
|
|
1095
|
+
*/
|
|
1096
|
+
applyPublication(projectId: string, idempotencyKey: string, body: AdminPublicationApplyRequest, options?: AdminPublicationReviewProfileOptions): Promise<unknown>;
|
|
1047
1097
|
planOpenApiImport(projectId: string, input: OpenApiImportRequest): Promise<OpenApiImportPlanResult>;
|
|
1048
1098
|
applyOpenApiImport(projectId: string, idempotencyKey: string, input: OpenApiImportRequest): Promise<OpenApiImportDraftResult>;
|
|
1049
1099
|
planOnboardingTemplate(projectId: string, manifestInput: unknown, bindingsInput: unknown): Promise<OnboardingTemplatePlanResult>;
|
|
@@ -1191,10 +1241,16 @@ interface PublicationApplyRequest extends PublicationPlanRequest {
|
|
|
1191
1241
|
readonly planCommitment: string;
|
|
1192
1242
|
readonly confirmation: PublicationConfirmation | null;
|
|
1193
1243
|
}
|
|
1244
|
+
|
|
1194
1245
|
/** Production backendはこの最小adapterへ閉じ込め、状態機械のunit testはnetworkを使わない。 */
|
|
1195
1246
|
interface PublishApiClient {
|
|
1196
|
-
|
|
1197
|
-
|
|
1247
|
+
/**
|
|
1248
|
+
* planは常に`Andpipe-Publication-Review-Profile: 2`を送り (#730)、bodyとresponse headerの生値を返す。
|
|
1249
|
+
* request bodyはheaderの有無で変えない。
|
|
1250
|
+
*/
|
|
1251
|
+
planPublication(projectId: string, body: PublicationPlanRequest, options: PublicationReviewProfileRequestOptions): Promise<PublicationPlanTransportResponse>;
|
|
1252
|
+
/** optionsは新Admin API(plan応答headerが`1` / `2`)のときだけ渡す。旧Admin APIでは渡さない。 */
|
|
1253
|
+
applyPublication(projectId: string, idempotencyKey: string, body: PublicationApplyRequest, options?: PublicationReviewProfileRequestOptions): Promise<unknown>;
|
|
1198
1254
|
getPublication(projectId: string, publicationId: string): Promise<unknown>;
|
|
1199
1255
|
}
|
|
1200
1256
|
type PublishApiFactory = (profile: string) => PublishApiClient;
|
|
@@ -1228,8 +1284,8 @@ declare class PublishCommandError extends Error {
|
|
|
1228
1284
|
}
|
|
1229
1285
|
declare function createPublishCommandRuntime(createClient: PublishApiFactory): PublishCommandRuntime;
|
|
1230
1286
|
declare function normalizePublishOptions(options: PublishCommandOptions, messages?: CliPublishWorkflowMessages): NormalizedPublishOptions;
|
|
1231
|
-
declare function runPublishCommand(options: PublishCommandOptions, writer: Writer, cwd: string, runtime: PublishCommandRuntime, messages?: CliPublishWorkflowMessages, scopeRegistrationMessages?: CliOAuthScopeRegistrationMessages): Promise<void>;
|
|
1232
|
-
declare function registerPublish(program: Command, writer: Writer, cwd: () => string, createClient: PublishApiFactory, description?: string, runtime?: PublishCommandRuntime, messages?: CliPublishWorkflowMessages, scopeRegistrationMessages?: CliOAuthScopeRegistrationMessages): void;
|
|
1287
|
+
declare function runPublishCommand(options: PublishCommandOptions, writer: Writer, cwd: string, runtime: PublishCommandRuntime, messages?: CliPublishWorkflowMessages, scopeRegistrationMessages?: CliOAuthScopeRegistrationMessages, schemaReviewMessages?: CliPublicationSchemaReviewMessages): Promise<void>;
|
|
1288
|
+
declare function registerPublish(program: Command, writer: Writer, cwd: () => string, createClient: PublishApiFactory, description?: string, runtime?: PublishCommandRuntime, messages?: CliPublishWorkflowMessages, scopeRegistrationMessages?: CliOAuthScopeRegistrationMessages, schemaReviewMessages?: CliPublicationSchemaReviewMessages): void;
|
|
1233
1289
|
|
|
1234
1290
|
interface BoundedFileOptions {
|
|
1235
1291
|
maxBytes: number;
|
|
@@ -1404,4 +1460,4 @@ declare function redactDeep(value: unknown): unknown;
|
|
|
1404
1460
|
/** sibling package 慣習に合わせた package 識別子 (@andpipes/* 複数形)。 */
|
|
1405
1461
|
declare const packageName: "@andpipes/cli";
|
|
1406
1462
|
|
|
1407
|
-
export { ADMIN_API_MAX_GET_ATTEMPTS, ADMIN_API_MAX_RESPONSE_BYTES, ADMIN_API_OAUTH_SCOPE_REGISTRATION_MAX_APPLY_ATTEMPTS, ADMIN_API_OAUTH_SCOPE_REGISTRATION_REQUEST_MAX_BYTES, ADMIN_API_OAUTH_SCOPE_REGISTRATION_RESPONSE_MAX_BYTES, ADMIN_API_ONBOARDING_TEMPLATE_MAX_BYTES, ADMIN_API_OPENAPI_IMPORT_MAX_BYTES, ADMIN_API_ORIGIN, ADMIN_API_PUBLICATION_REQUEST_MAX_BYTES, ADMIN_API_PUBLICATION_RESPONSE_MAX_BYTES, ADMIN_API_TIMEOUT_MS, ADMIN_CLI_AUTHORIZATION_SERVER, ADMIN_CLI_CLIENT_ID, ADMIN_CLI_HANDOFF_GRANT, ADMIN_CLI_RESOURCE, ADMIN_CLI_SCOPES, ADMIN_CLI_VERIFICATION_URI_BASE, AdminApiClient, AdminApiClientError, type AdminApiClientErrorSafeDetails, type AdminApiClientOptions, AdminCliHandoffError, type AdminCliHandoffFetch, type AdminCliHandoffRuntime, type AdminCliScope, type AdminFetch, type AdminHealth, type AdminPublicationApplyRequest, type AdminPublicationConfirmation, type AdminPublicationPlanRequest, type AdminSleep, type AuditExportDownloadAuthorization, type AuditExportIntegrity, type AuditExportListResult, type AuditExportManifest, type AuditExportSummary, CLI_NAME, CONFIG_MCP_ENDPOINT, CONFIG_MCP_HANDOFF_GRANT, CONFIG_MCP_RESOURCE, ConfigMcpClientError, type ConfigMcpConnectionConfig, type ConfigMcpCredentialRecord, type ConfigMcpFetch, ConfigMcpHandoffError, type ConfigMcpHandoffRuntime, type ConfigMcpToolSummary, ConfirmationRequiredError, type ConnectConfigMcpInput, type CreateAdminApiClientOptions, type CredentialRecord, type CredentialsFile, type CurrentAdminCredential, DEFAULT_AUTHORIZATION_SERVER, DEFAULT_DEV_PORT, DEFAULT_DEV_TTL_SECONDS, DEFAULT_PROFILE_NAME, DEFAULT_VERIFICATION_URI_BASE, type DevCommandOptions, type DevCommandRuntime, DevPolicyError, DevProjectPreflightError, type DnsRecord, type DnsSetupRecord, type DoctorCheck, type DoctorReport, type DoctorStatus, type DomainCreateResult, type DomainPlan, type HandoffFetch, type InitApiClient, type InitApiFactory, type InitCommandOptions, type InitCommandRuntime, type InitLocalPlan, InitLocalUsageError, type InitManifestCommitment, InitManifestConflictError, type InitManifestRuntime, type InitProject, type InitProjectCreateDiff, type InitProjectList, type InitRootAnchor, type InitRootIdentity, type LoadedOnboardingTemplateArtifact, type LoginAdminCliInput, type LogsResult, type NormalizedPublishOptions, type OAuthClientScopeMapRequest, type OAuthClientScopeMapResult, type OAuthClientSummary, type OAuthReadinessIssue, type OAuthScopeRegisterApi, type OAuthScopeRegisterCommandOptions, type OAuthScopeRegisterRuntime, OAuthScopeRegistrationCommandError, type OAuthScopeRegistrationRequest, type OAuthScopeRegistrationSavedDraft, type OAuthScopeRegistrationSourceInput, type OAuthScopeSummary, type OAuthScopesSyncResult, type OAuthSetupResult, type OAuthTestLoginCheck, type OAuthTestLoginResult, type OnboardingTemplateApplyRequest, type OnboardingTemplateApplyResult, type OnboardingTemplateExportResult, type OnboardingTemplatePlanResult, type OpenApiImportApi, type OpenApiImportCommandOptions, type OpenApiImportDraftResult, type OpenApiImportOperationSummary, type OpenApiImportPlanResult, type OpenApiImportRequest, type OpenApiImportRuntime, PACKAGE_NAME, type ProjectListResult, type PublicationApplyRequest, type PublicationConfirmation, type PublicationPlanRequest, type PublishApiClient, type PublishApiFactory, PublishCommandError, type PublishCommandOptions, type PublishCommandRuntime, type RandomBytes, type ReviewPackageCreateRequest, type ReviewPackageCreateResult, type ReviewPackageDownloadResult, type ReviewPackageMetadata, type SafeCustomDomain, type SafeLogEntry, type SafeProject, type TemplateApi, type TemplateCommandRuntime, UsageError, assertProjectId, assertResourceId, buildProgram, captureInitRoot, clearAll, computeDomainPlan, connectConfigMcp, createAdminApiClient, createInitCommandRuntime, createOAuthScopeRegisterRuntime, createOpenApiImportRuntime, createPublishCommandRuntime, createS256Challenge, createTemplateCommandRuntime, fetchOAuthMetadata, finalizeExistingInitManifest, generateIdempotencyKey, generatePkceVerifier, getConfigDir, getConfigMcpProfile, getCredentialsPath, getProfile, isSensitiveKey, isValidDomain, loadConfigMcpConnectionConfig, loadContract, loadOnboardingTemplateArtifact, loginAdminCli, maskSecrets, maskToken, normalizeConfigMcpScopes, normalizeDevOptions, normalizeInitOptions, normalizePublishOptions, packageName, prepareInitLocal, probeConfigMcpTools, readVersion, redactDeep, registerDev, registerInit, registerOpenApi, registerPublish, registerTemplate, removeConfigMcpProfile, removeProfile, resolveConfigMcpConnection, resolveContractPath, runCli, runDevCommand, runDoctor, runInitCommand, runOAuthScopeRegisterCommand, runOpenApiImportCommand, runPublishCommand, runTemplatePlanOrApply, runTemplateRollback, setConfigMcpProfile, setProfile, validateOAuthMetadata, writeInitManifestNoReplace };
|
|
1463
|
+
export { ADMIN_API_MAX_GET_ATTEMPTS, ADMIN_API_MAX_RESPONSE_BYTES, ADMIN_API_OAUTH_SCOPE_REGISTRATION_MAX_APPLY_ATTEMPTS, ADMIN_API_OAUTH_SCOPE_REGISTRATION_REQUEST_MAX_BYTES, ADMIN_API_OAUTH_SCOPE_REGISTRATION_RESPONSE_MAX_BYTES, ADMIN_API_ONBOARDING_TEMPLATE_MAX_BYTES, ADMIN_API_OPENAPI_IMPORT_MAX_BYTES, ADMIN_API_ORIGIN, ADMIN_API_PUBLICATION_REQUEST_MAX_BYTES, ADMIN_API_PUBLICATION_RESPONSE_MAX_BYTES, ADMIN_API_TIMEOUT_MS, ADMIN_CLI_AUTHORIZATION_SERVER, ADMIN_CLI_CLIENT_ID, ADMIN_CLI_HANDOFF_GRANT, ADMIN_CLI_RESOURCE, ADMIN_CLI_SCOPES, ADMIN_CLI_VERIFICATION_URI_BASE, AdminApiClient, AdminApiClientError, type AdminApiClientErrorSafeDetails, type AdminApiClientOptions, AdminCliHandoffError, type AdminCliHandoffFetch, type AdminCliHandoffRuntime, type AdminCliScope, type AdminFetch, type AdminHealth, type AdminPublicationApplyRequest, type AdminPublicationConfirmation, type AdminPublicationPlanRequest, type AdminPublicationPlanResponse, type AdminPublicationReviewProfileOptions, type AdminSleep, type AuditExportDownloadAuthorization, type AuditExportIntegrity, type AuditExportListResult, type AuditExportManifest, type AuditExportSummary, CLI_NAME, CONFIG_MCP_ENDPOINT, CONFIG_MCP_HANDOFF_GRANT, CONFIG_MCP_RESOURCE, ConfigMcpClientError, type ConfigMcpConnectionConfig, type ConfigMcpCredentialRecord, type ConfigMcpFetch, ConfigMcpHandoffError, type ConfigMcpHandoffRuntime, type ConfigMcpToolSummary, ConfirmationRequiredError, type ConnectConfigMcpInput, type CreateAdminApiClientOptions, type CredentialRecord, type CredentialsFile, type CurrentAdminCredential, DEFAULT_AUTHORIZATION_SERVER, DEFAULT_DEV_PORT, DEFAULT_DEV_TTL_SECONDS, DEFAULT_PROFILE_NAME, DEFAULT_VERIFICATION_URI_BASE, type DevCommandOptions, type DevCommandRuntime, DevPolicyError, DevProjectPreflightError, type DnsRecord, type DnsSetupRecord, type DoctorCheck, type DoctorReport, type DoctorStatus, type DomainCreateResult, type DomainPlan, type HandoffFetch, type InitApiClient, type InitApiFactory, type InitCommandOptions, type InitCommandRuntime, type InitLocalPlan, InitLocalUsageError, type InitManifestCommitment, InitManifestConflictError, type InitManifestRuntime, type InitProject, type InitProjectCreateDiff, type InitProjectList, type InitRootAnchor, type InitRootIdentity, type LoadedOnboardingTemplateArtifact, type LoginAdminCliInput, type LogsResult, type NormalizedPublishOptions, type OAuthClientScopeMapRequest, type OAuthClientScopeMapResult, type OAuthClientSummary, type OAuthReadinessIssue, type OAuthScopeRegisterApi, type OAuthScopeRegisterCommandOptions, type OAuthScopeRegisterRuntime, OAuthScopeRegistrationCommandError, type OAuthScopeRegistrationRequest, type OAuthScopeRegistrationSavedDraft, type OAuthScopeRegistrationSourceInput, type OAuthScopeSummary, type OAuthScopesSyncResult, type OAuthSetupResult, type OAuthTestLoginCheck, type OAuthTestLoginResult, type OnboardingTemplateApplyRequest, type OnboardingTemplateApplyResult, type OnboardingTemplateExportResult, type OnboardingTemplatePlanResult, type OpenApiImportApi, type OpenApiImportCommandOptions, type OpenApiImportDraftResult, type OpenApiImportOperationSummary, type OpenApiImportPlanResult, type OpenApiImportRequest, type OpenApiImportRuntime, PACKAGE_NAME, type ProjectListResult, type PublicationApplyRequest, type PublicationConfirmation, type PublicationPlanRequest, type PublicationPlanTransportResponse, type PublicationReviewProfileRequestOptions, type PublishApiClient, type PublishApiFactory, PublishCommandError, type PublishCommandOptions, type PublishCommandRuntime, type RandomBytes, type ReviewPackageCreateRequest, type ReviewPackageCreateResult, type ReviewPackageDownloadResult, type ReviewPackageMetadata, type SafeCustomDomain, type SafeLogEntry, type SafeProject, type TemplateApi, type TemplateCommandRuntime, UsageError, assertProjectId, assertResourceId, buildProgram, captureInitRoot, clearAll, computeDomainPlan, connectConfigMcp, createAdminApiClient, createInitCommandRuntime, createOAuthScopeRegisterRuntime, createOpenApiImportRuntime, createPublishCommandRuntime, createS256Challenge, createTemplateCommandRuntime, fetchOAuthMetadata, finalizeExistingInitManifest, generateIdempotencyKey, generatePkceVerifier, getConfigDir, getConfigMcpProfile, getCredentialsPath, getProfile, isSensitiveKey, isValidDomain, loadConfigMcpConnectionConfig, loadContract, loadOnboardingTemplateArtifact, loginAdminCli, maskSecrets, maskToken, normalizeConfigMcpScopes, normalizeDevOptions, normalizeInitOptions, normalizePublishOptions, packageName, prepareInitLocal, probeConfigMcpTools, readVersion, redactDeep, registerDev, registerInit, registerOpenApi, registerPublish, registerTemplate, removeConfigMcpProfile, removeProfile, resolveConfigMcpConnection, resolveContractPath, runCli, runDevCommand, runDoctor, runInitCommand, runOAuthScopeRegisterCommand, runOpenApiImportCommand, runPublishCommand, runTemplatePlanOrApply, runTemplateRollback, setConfigMcpProfile, setProfile, validateOAuthMetadata, writeInitManifestNoReplace };
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andpipes/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "andpipe CLI — Brand MCP Gateway / OAuth Broker / Tool Contract Platform の init / dev / validate / publish を提供する公式 CLI",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"commander": "^14.0.0",
|
|
43
|
-
"@andpipes/localization": "0.1.
|
|
44
|
-
"@andpipes/
|
|
45
|
-
"@andpipes/
|
|
43
|
+
"@andpipes/localization": "0.1.4",
|
|
44
|
+
"@andpipes/mcp-adapter": "0.0.0",
|
|
45
|
+
"@andpipes/tool-contract": "0.1.4"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/node": "^25.9.1",
|