@nexusclawhq/cli 0.3.80 → 0.3.82
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/CHANGELOG.md +12 -0
- package/dist/build-info.json +4 -4
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/agent-executable-assets/command-routing.types.d.ts +99 -0
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/agent-executable-assets/command-routing.types.js +3 -0
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/agent-executable-assets/command-routing.types.js.map +1 -0
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.d.ts +32 -0
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js +32 -0
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js.map +1 -1
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/index.d.ts +64 -0
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.d.ts +32 -0
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js +32 -0
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js.map +1 -1
- package/dist/nexus-cli/src/cli.js +0 -0
- package/dist/nexus-cli/src/commands/data/import-records.d.ts +40 -0
- package/dist/nexus-cli/src/commands/data/import-records.js +100 -0
- package/dist/nexus-cli/src/commands/data/import-records.js.map +1 -0
- package/dist/nexus-cli/src/commands/data/import-records.test.d.ts +1 -0
- package/dist/nexus-cli/src/commands/data/import-records.test.js +40 -0
- package/dist/nexus-cli/src/commands/data/import-records.test.js.map +1 -0
- package/dist/nexus-cli/src/commands/data/index.js +3 -0
- package/dist/nexus-cli/src/commands/data/index.js.map +1 -1
- package/dist/nexus-cli/src/commands/metadata/diff.d.ts +2 -0
- package/dist/nexus-cli/src/commands/metadata/diff.js +5 -1
- package/dist/nexus-cli/src/commands/metadata/diff.js.map +1 -1
- package/dist/nexus-cli/src/commands/metadata/diff.test.d.ts +1 -0
- package/dist/nexus-cli/src/commands/metadata/diff.test.js +87 -0
- package/dist/nexus-cli/src/commands/metadata/diff.test.js.map +1 -0
- package/dist/nexus-cli/src/contracts/command-inventory.test.js +4 -4
- package/dist/nexus-cli/src/contracts/command-policy.exporter.test.js +2 -2
- package/dist/nexus-cli/src/contracts/command-policy.registry.js +8 -2
- package/dist/nexus-cli/src/contracts/command-policy.registry.js.map +1 -1
- package/dist/nexus-cli/src/contracts/command-policy.registry.test.js +4 -4
- package/dist/nexus-cli/src/contracts/command-policy.validator.test.js +2 -2
- package/dist/nexus-cli/src/contracts/command-routing.d.ts +25 -0
- package/dist/nexus-cli/src/contracts/command-routing.js +488 -0
- package/dist/nexus-cli/src/contracts/command-routing.js.map +1 -0
- package/dist/nexus-cli/src/contracts/command-routing.test.d.ts +1 -0
- package/dist/nexus-cli/src/contracts/command-routing.test.js +73 -0
- package/dist/nexus-cli/src/contracts/command-routing.test.js.map +1 -0
- package/dist/nexus-cli/src/contracts/task-route.registry.d.ts +40 -0
- package/dist/nexus-cli/src/contracts/task-route.registry.js +234 -0
- package/dist/nexus-cli/src/contracts/task-route.registry.js.map +1 -0
- package/dist/nexus-cli/src/contracts/task-route.registry.test.d.ts +1 -0
- package/dist/nexus-cli/src/contracts/task-route.registry.test.js +65 -0
- package/dist/nexus-cli/src/contracts/task-route.registry.test.js.map +1 -0
- package/dist/nexus-cli/src/services/api-client.d.ts +3 -0
- package/dist/nexus-cli/src/services/api-client.js +48 -11
- package/dist/nexus-cli/src/services/api-client.js.map +1 -1
- package/dist/nexus-cli/src/services/api-client.test.js +50 -0
- package/dist/nexus-cli/src/services/api-client.test.js.map +1 -1
- package/dist/nexus-cli/src/services/incremental-source-artifact.d.ts +8 -2
- package/dist/nexus-cli/src/services/incremental-source-artifact.js +13 -4
- package/dist/nexus-cli/src/services/incremental-source-artifact.js.map +1 -1
- package/dist/nexus-cli/src/services/incremental-source-artifact.test.js +30 -1
- package/dist/nexus-cli/src/services/incremental-source-artifact.test.js.map +1 -1
- package/dist/nexus-cli/src/services/incremental-source-stage.js +2 -0
- package/dist/nexus-cli/src/services/incremental-source-stage.js.map +1 -1
- package/dist/nexus-cli/src/services/incremental-source-stage.test.js +7 -0
- package/dist/nexus-cli/src/services/incremental-source-stage.test.js.map +1 -1
- package/dist/nexus-cli/src/services/source-tracker.d.ts +3 -1
- package/dist/nexus-cli/src/services/source-tracker.js +11 -2
- package/dist/nexus-cli/src/services/source-tracker.js.map +1 -1
- package/dist/nexus-cli/src/services/update-check.js +2 -3
- package/dist/nexus-cli/src/services/update-check.js.map +1 -1
- package/dist/nexus-cli/src/services/update-check.test.js +6 -2
- package/dist/nexus-cli/src/services/update-check.test.js.map +1 -1
- package/dist/nexus-cli/src/services/workforce-bundle-archive.d.ts +1 -1
- package/dist/nexus-cli/src/services/workforce-bundle-remote.d.ts +1 -1
- package/dist/nexus-cli/src/services/workforce-test-remote.d.ts +1 -1
- package/dist/nexus-cli/src/services/workforce-test-remote.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.82 - 2026-11-07
|
|
4
|
+
|
|
5
|
+
- Preserve workspace-relative paths when `metadata diff` selects a nested source directory (LYNC-1140).
|
|
6
|
+
- Cache failed registry checks and retry selected safe reads once on transient failures (LYNC-1141).
|
|
7
|
+
- Add explicit single-object import validation, execution and job-status commands (LYNC-1133).
|
|
8
|
+
|
|
9
|
+
## 0.3.81 - 2026-11-07
|
|
10
|
+
|
|
11
|
+
- Honor explicitly selected source directories for `metadata diff` (LYNC-1140).
|
|
12
|
+
- Report metadata import gateway timeouts as potentially applied so callers
|
|
13
|
+
can verify server state before retrying (LYNC-1133).
|
|
14
|
+
|
|
3
15
|
## 0.3.80 - 2026-11-07
|
|
4
16
|
|
|
5
17
|
- Add `source push --incremental` with preview, upload, and stage phases,
|
package/dist/build-info.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"packageName": "@nexusclawhq/cli",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"gitSha": "
|
|
3
|
+
"version": "0.3.82",
|
|
4
|
+
"gitSha": "ce03f818fc1bf0514164cc4c9d4c83bb701be15d",
|
|
5
5
|
"ciRunId": null,
|
|
6
|
-
"contentDigest": "sha256:
|
|
7
|
-
"generatedAt": "2026-11-
|
|
6
|
+
"contentDigest": "sha256:cb506ef75f8c0fcf5c260221e3e276c0c9c8cb979722194112aa00f4daa5893c",
|
|
7
|
+
"generatedAt": "2026-11-07T05:12:10.458Z"
|
|
8
8
|
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { CliArgvPredicateExprV1, CliEffectKind } from './cli-contract.types';
|
|
2
|
+
import type { AiContextSha256 } from './ai-authoring-context.types';
|
|
3
|
+
import type { JsonObject } from './json-value';
|
|
4
|
+
import { CLI_COMMAND_ROUTING_SCHEMA_VERSION } from './contract-versions';
|
|
5
|
+
export type CliRoutingSurfaceV1 = 'code' | 'flow' | 'metadata' | 'source' | 'workforce' | 'observe' | 'release';
|
|
6
|
+
export type CliRoutingAuthorizationV1 = 'none' | 'explicit_user';
|
|
7
|
+
export interface CliAgentCommandNodeV1 {
|
|
8
|
+
readonly nodeId: string;
|
|
9
|
+
readonly commandId: string;
|
|
10
|
+
readonly modeId: string;
|
|
11
|
+
readonly surface: CliRoutingSurfaceV1;
|
|
12
|
+
readonly commandPath: string;
|
|
13
|
+
readonly argvTemplate: string;
|
|
14
|
+
readonly inputSchema: JsonObject;
|
|
15
|
+
readonly inputSchemaDigest: AiContextSha256;
|
|
16
|
+
readonly inputSchemaRefs: ReadonlyArray<string>;
|
|
17
|
+
readonly requiredFacts: ReadonlyArray<string>;
|
|
18
|
+
readonly examples: ReadonlyArray<ReadonlyArray<string>>;
|
|
19
|
+
readonly preconditions: ReadonlyArray<string>;
|
|
20
|
+
readonly evidenceSources: ReadonlyArray<string>;
|
|
21
|
+
readonly effect: CliEffectKind;
|
|
22
|
+
readonly auth: 'none' | 'org';
|
|
23
|
+
readonly permissionProfileId: string;
|
|
24
|
+
readonly requiresStepUp: boolean;
|
|
25
|
+
readonly requiresIdempotencyKey: boolean;
|
|
26
|
+
readonly supportsDryRun: boolean;
|
|
27
|
+
readonly forbiddenAlternatives: ReadonlyArray<string>;
|
|
28
|
+
readonly documentationRef: string;
|
|
29
|
+
readonly recoveryHints: ReadonlyArray<string>;
|
|
30
|
+
readonly nextNodeIds: ReadonlyArray<string>;
|
|
31
|
+
}
|
|
32
|
+
export interface CliAgentRouteV1 {
|
|
33
|
+
readonly routeId: string;
|
|
34
|
+
readonly surface: CliRoutingSurfaceV1;
|
|
35
|
+
readonly intentLabels: ReadonlyArray<string>;
|
|
36
|
+
readonly requiredFacts: ReadonlyArray<string>;
|
|
37
|
+
readonly startNodeIds: ReadonlyArray<string>;
|
|
38
|
+
readonly nodeIds: ReadonlyArray<string>;
|
|
39
|
+
readonly terminalAuthorization: CliRoutingAuthorizationV1;
|
|
40
|
+
}
|
|
41
|
+
export interface CliAgentCommandEdgeV1 {
|
|
42
|
+
readonly edgeId: string;
|
|
43
|
+
readonly fromNodeId: string;
|
|
44
|
+
readonly toNodeId: string;
|
|
45
|
+
readonly predicates: ReadonlyArray<string>;
|
|
46
|
+
readonly authorization: CliRoutingAuthorizationV1;
|
|
47
|
+
}
|
|
48
|
+
export interface CliAgentCommandRoutingContextV1 {
|
|
49
|
+
readonly mode: 'offline' | 'online';
|
|
50
|
+
readonly workspaceId: string | null;
|
|
51
|
+
readonly principalScopeDigest: AiContextSha256 | null;
|
|
52
|
+
readonly expiresAt: string | null;
|
|
53
|
+
}
|
|
54
|
+
export interface CliAgentCommandRoutingFactsV1 {
|
|
55
|
+
readonly surface?: CliRoutingSurfaceV1;
|
|
56
|
+
readonly assetKind?: string;
|
|
57
|
+
readonly localMode?: 'local' | 'remote';
|
|
58
|
+
readonly targetOrg?: string;
|
|
59
|
+
readonly candidateId?: string;
|
|
60
|
+
readonly workspaceId?: string;
|
|
61
|
+
readonly evidenceDigests?: ReadonlyArray<AiContextSha256>;
|
|
62
|
+
readonly explicitUserAuthority?: boolean;
|
|
63
|
+
/** Normalized argument/option values supplied for route validation. */
|
|
64
|
+
readonly values?: JsonObject;
|
|
65
|
+
}
|
|
66
|
+
export interface CliAgentCommandRoutingGraphV1 {
|
|
67
|
+
readonly schemaVersion: typeof CLI_COMMAND_ROUTING_SCHEMA_VERSION;
|
|
68
|
+
readonly cliVersion: string;
|
|
69
|
+
readonly coreCommitSha: string | null;
|
|
70
|
+
readonly generatedAt: string;
|
|
71
|
+
readonly registryDigest: AiContextSha256;
|
|
72
|
+
readonly graphDigest: AiContextSha256;
|
|
73
|
+
readonly context: CliAgentCommandRoutingContextV1;
|
|
74
|
+
readonly surfaces: ReadonlyArray<CliRoutingSurfaceV1>;
|
|
75
|
+
readonly routes: ReadonlyArray<CliAgentRouteV1>;
|
|
76
|
+
readonly nodes: ReadonlyArray<CliAgentCommandNodeV1>;
|
|
77
|
+
readonly edges: ReadonlyArray<CliAgentCommandEdgeV1>;
|
|
78
|
+
}
|
|
79
|
+
export type CliAgentCommandRoutingFailureCode = 'CLI_ROUTE_UNSUPPORTED' | 'CLI_ROUTE_AMBIGUOUS' | 'CLI_ROUTE_MISSING_FACTS' | 'CLI_ROUTE_STALE';
|
|
80
|
+
export interface CliAgentCommandRoutingPlanV1 {
|
|
81
|
+
readonly schemaVersion: typeof CLI_COMMAND_ROUTING_SCHEMA_VERSION;
|
|
82
|
+
readonly routeId: string;
|
|
83
|
+
readonly node: CliAgentCommandNodeV1;
|
|
84
|
+
readonly context: CliAgentCommandRoutingContextV1;
|
|
85
|
+
readonly graphDigest: AiContextSha256;
|
|
86
|
+
readonly planDigest: AiContextSha256;
|
|
87
|
+
}
|
|
88
|
+
export type CliAgentCommandRoutingResolutionV1 = {
|
|
89
|
+
readonly ok: true;
|
|
90
|
+
readonly plan: CliAgentCommandRoutingPlanV1;
|
|
91
|
+
} | {
|
|
92
|
+
readonly ok: false;
|
|
93
|
+
readonly code: CliAgentCommandRoutingFailureCode;
|
|
94
|
+
readonly message: string;
|
|
95
|
+
readonly candidates: ReadonlyArray<string>;
|
|
96
|
+
readonly missingFacts: ReadonlyArray<string>;
|
|
97
|
+
};
|
|
98
|
+
/** Keep the predicate type reachable from the public routing module barrel. */
|
|
99
|
+
export type CliRoutingPredicateV1 = CliArgvPredicateExprV1;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-routing.types.js","sourceRoot":"","sources":["../../src/agent-executable-assets/command-routing.types.ts"],"names":[],"mappings":""}
|
|
@@ -4199,6 +4199,12 @@ declare const _default: {
|
|
|
4199
4199
|
fieldTypeLongText: string;
|
|
4200
4200
|
fieldTypeUuid: string;
|
|
4201
4201
|
fieldTypeFormula: string;
|
|
4202
|
+
fieldTypeRollup: string;
|
|
4203
|
+
fieldTypeAutoNumber: string;
|
|
4204
|
+
autoNumberFormatLabel: string;
|
|
4205
|
+
autoNumberFormatPlaceholder: string;
|
|
4206
|
+
autoNumberFormatHint: string;
|
|
4207
|
+
autoNumberStartingNumberLabel: string;
|
|
4202
4208
|
fieldTypeNumber: string;
|
|
4203
4209
|
fieldTypeDate: string;
|
|
4204
4210
|
fieldTypeDateTime: string;
|
|
@@ -11154,6 +11160,15 @@ declare const _default: {
|
|
|
11154
11160
|
restrictedOptionLabel: string;
|
|
11155
11161
|
restrictedTooltip: string;
|
|
11156
11162
|
restrictedTooltipShort: string;
|
|
11163
|
+
dependentPicklistTitle: string;
|
|
11164
|
+
dependentPicklistControllingField: string;
|
|
11165
|
+
dependentPicklistControllingFieldPlaceholder: string;
|
|
11166
|
+
dependentPicklistNoCandidates: string;
|
|
11167
|
+
dependentPicklistNoControllingOptions: string;
|
|
11168
|
+
dependentPicklistValueMapTitle: string;
|
|
11169
|
+
dependentPicklistHint: string;
|
|
11170
|
+
dependentPicklistAllowedValuesPlaceholder: string;
|
|
11171
|
+
dependentPicklistValueMapRequired: string;
|
|
11157
11172
|
restricted: string;
|
|
11158
11173
|
unrestricted: string;
|
|
11159
11174
|
relationType: string;
|
|
@@ -11190,6 +11205,23 @@ declare const _default: {
|
|
|
11190
11205
|
textConfigTitle: string;
|
|
11191
11206
|
numberConfigTitle: string;
|
|
11192
11207
|
rollupConfigTitle: string;
|
|
11208
|
+
rollupConfigRequired: string;
|
|
11209
|
+
fieldDetailTitle: string;
|
|
11210
|
+
fieldDetailBasicTitle: string;
|
|
11211
|
+
fieldDetailConfigTitle: string;
|
|
11212
|
+
fieldDetailUsagesTitle: string;
|
|
11213
|
+
fieldDetailUsagesEmpty: string;
|
|
11214
|
+
fieldDetailUsagesHint: string;
|
|
11215
|
+
fieldDetailEdit: string;
|
|
11216
|
+
detailUsageKindLayout: string;
|
|
11217
|
+
detailUsageKindListViewColumn: string;
|
|
11218
|
+
detailUsageKindViewFilter: string;
|
|
11219
|
+
detailUsageKindViewSort: string;
|
|
11220
|
+
detailUsageKindValidationRule: string;
|
|
11221
|
+
detailUsageKindFormulaField: string;
|
|
11222
|
+
detailUsageKindRollupInbound: string;
|
|
11223
|
+
detailUsageKindRecordType: string;
|
|
11224
|
+
detailUsageKindDependentPicklist: string;
|
|
11193
11225
|
uuidHint: string;
|
|
11194
11226
|
jsonHint: string;
|
|
11195
11227
|
arrayHint: string;
|
|
@@ -4249,6 +4249,12 @@ const messages = {
|
|
|
4249
4249
|
fieldTypeLongText: "Long Text",
|
|
4250
4250
|
fieldTypeUuid: "UUID",
|
|
4251
4251
|
fieldTypeFormula: "Formula",
|
|
4252
|
+
fieldTypeRollup: "Rollup",
|
|
4253
|
+
fieldTypeAutoNumber: "Auto Number",
|
|
4254
|
+
autoNumberFormatLabel: "Display Format",
|
|
4255
|
+
autoNumberFormatPlaceholder: "e.g. QT-{YYYY}{MM}-{0}",
|
|
4256
|
+
autoNumberFormatHint: "Supports {0} (sequence; the number of zeros = padding width) and {YYYY}/{YY}/{MM}/{DD} date tokens; everything else is literal text.",
|
|
4257
|
+
autoNumberStartingNumberLabel: "Starting Number",
|
|
4252
4258
|
fieldTypeNumber: "Number",
|
|
4253
4259
|
fieldTypeDate: "Date",
|
|
4254
4260
|
fieldTypeDateTime: "Date Time",
|
|
@@ -11197,6 +11203,15 @@ const messages = {
|
|
|
11197
11203
|
restrictedOptionLabel: "Restricted options (only values in the set are allowed)",
|
|
11198
11204
|
restrictedTooltip: "When enabled, values outside the value set are rejected (only values in the set are allowed)",
|
|
11199
11205
|
restrictedTooltipShort: "When enabled, values outside the value set are rejected",
|
|
11206
|
+
dependentPicklistTitle: "Dependent Picklist (Optional)",
|
|
11207
|
+
dependentPicklistControllingField: "Controlling Field",
|
|
11208
|
+
dependentPicklistControllingFieldPlaceholder: "Select a single-select field on this object as the controlling field",
|
|
11209
|
+
dependentPicklistNoCandidates: "No other single-select fields on this object can act as a controlling field",
|
|
11210
|
+
dependentPicklistNoControllingOptions: "The controlling field has no options yet — configure its options first",
|
|
11211
|
+
dependentPicklistValueMapTitle: "Allowed Values Mapping",
|
|
11212
|
+
dependentPicklistHint: "Pick the allowed values of this field for each controlling option; values under unselected options cannot be filled in.",
|
|
11213
|
+
dependentPicklistAllowedValuesPlaceholder: "Select allowed values",
|
|
11214
|
+
dependentPicklistValueMapRequired: "Configure allowed values for at least one controlling field value",
|
|
11200
11215
|
restricted: "Restricted",
|
|
11201
11216
|
unrestricted: "Unrestricted",
|
|
11202
11217
|
relationType: "Relation Type",
|
|
@@ -11233,6 +11248,23 @@ const messages = {
|
|
|
11233
11248
|
textConfigTitle: "Text Configuration",
|
|
11234
11249
|
numberConfigTitle: "Number Configuration",
|
|
11235
11250
|
rollupConfigTitle: "Rollup Configuration",
|
|
11251
|
+
rollupConfigRequired: "Select a child object and a relation field first; SUM/AVG/MIN/MAX also require an aggregate child field",
|
|
11252
|
+
fieldDetailTitle: "Field Detail",
|
|
11253
|
+
fieldDetailBasicTitle: "Basic Info",
|
|
11254
|
+
fieldDetailConfigTitle: "Field Configuration",
|
|
11255
|
+
fieldDetailUsagesTitle: "Where Is This Used",
|
|
11256
|
+
fieldDetailUsagesEmpty: "Not referenced by any configuration",
|
|
11257
|
+
fieldDetailUsagesHint: "The configurations below currently reference this field; review them before adjusting or deleting the field.",
|
|
11258
|
+
fieldDetailEdit: "Edit",
|
|
11259
|
+
detailUsageKindLayout: "Layout",
|
|
11260
|
+
detailUsageKindListViewColumn: "List View Column",
|
|
11261
|
+
detailUsageKindViewFilter: "View Filter",
|
|
11262
|
+
detailUsageKindViewSort: "View Sort",
|
|
11263
|
+
detailUsageKindValidationRule: "Validation Rule",
|
|
11264
|
+
detailUsageKindFormulaField: "Formula Field",
|
|
11265
|
+
detailUsageKindRollupInbound: "Rollup (Inbound)",
|
|
11266
|
+
detailUsageKindRecordType: "Record Type",
|
|
11267
|
+
detailUsageKindDependentPicklist: "Dependent Picklist",
|
|
11236
11268
|
uuidHint: "A UUID field automatically generates a unique identifier",
|
|
11237
11269
|
jsonHint: "A JSON field can store arbitrary JSON data",
|
|
11238
11270
|
arrayHint: "An array field can store multiple values",
|