@copado/agentia-cli 0.52.0-alpha.0 → 0.53.0-alpha.0

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.
@@ -895,7 +895,8 @@
895
895
  "<%= config.bin %> <%= command.id %> --plan -p \"Break this requirement into implementation steps\"",
896
896
  "<%= config.bin %> <%= command.id %> --build -p \"Generate an Apex handler outline\" --sf-org test14 --user-story US-1042",
897
897
  "<%= config.bin %> <%= command.id %> --test -p \"Create regression checks\" --component LeadScoringHandler --json",
898
- "<%= config.bin %> <%= command.id %> --operate -p \"Diagnose this deployment error\" --timeout 240"
898
+ "<%= config.bin %> <%= command.id %> --operate -p \"Diagnose this deployment error\" --timeout 240",
899
+ "<%= config.bin %> <%= command.id %> --knowledge -p \"Summarize our deployment guidance\""
899
900
  ],
900
901
  "flags": {
901
902
  "json": {
@@ -939,6 +940,12 @@
939
940
  "multiple": false,
940
941
  "type": "option"
941
942
  },
943
+ "knowledge": {
944
+ "description": "Target the Knowledge agent",
945
+ "name": "knowledge",
946
+ "allowNo": false,
947
+ "type": "boolean"
948
+ },
942
949
  "no-stream": {
943
950
  "description": "Buffer the full response before printing in human mode",
944
951
  "name": "no-stream",
@@ -1052,6 +1059,7 @@
1052
1059
  "examples": [
1053
1060
  "<%= config.bin %> <%= command.id %> --plan --sf-org test14",
1054
1061
  "<%= config.bin %> <%= command.id %> --build --user-story US-1042 --timeout 240",
1062
+ "<%= config.bin %> <%= command.id %> --knowledge",
1055
1063
  "<%= config.bin %> <%= command.id %> --orchestrate --workspace 42d0b908-37b7-4565-9ec9-86eda40c9782"
1056
1064
  ],
1057
1065
  "flags": {
@@ -1089,6 +1097,12 @@
1089
1097
  "multiple": false,
1090
1098
  "type": "option"
1091
1099
  },
1100
+ "knowledge": {
1101
+ "description": "Target the Knowledge agent",
1102
+ "name": "knowledge",
1103
+ "allowNo": false,
1104
+ "type": "boolean"
1105
+ },
1092
1106
  "operate": {
1093
1107
  "description": "Target the Operate agent",
1094
1108
  "name": "operate",
@@ -2040,160 +2054,6 @@
2040
2054
  "update.js"
2041
2055
  ]
2042
2056
  },
2043
- "cicd:metadata:list": {
2044
- "aliases": [],
2045
- "args": {},
2046
- "description": "Search the metadata index for an org via the CICD gateway",
2047
- "examples": [
2048
- "<%= config.bin %> <%= command.id %> --pipeline-id <id> --source-org-id <id> --source-credential-id <id>",
2049
- "<%= config.bin %> <%= command.id %> --source Changed --metadata-types ApexClass --limit 100 --pipeline-id <id> --source-org-id <id> --source-credential-id <id>",
2050
- "<%= config.bin %> <%= command.id %> --source NewAndChanged --find-managed-packages --json"
2051
- ],
2052
- "flags": {
2053
- "json": {
2054
- "description": "Format output as json.",
2055
- "helpGroup": "GLOBAL",
2056
- "name": "json",
2057
- "allowNo": false,
2058
- "type": "boolean"
2059
- },
2060
- "avoid-source-tracking": {
2061
- "description": "Pass avoidSourceTracking=true to the gateway index route",
2062
- "name": "avoid-source-tracking",
2063
- "allowNo": false,
2064
- "type": "boolean"
2065
- },
2066
- "filter-type": {
2067
- "description": "Optional metadata type name filter, for example ApexClass",
2068
- "name": "filter-type",
2069
- "hasDynamicHelp": false,
2070
- "multiple": false,
2071
- "type": "option"
2072
- },
2073
- "find-managed-packages": {
2074
- "description": "Include managed package metadata in the search",
2075
- "name": "find-managed-packages",
2076
- "allowNo": false,
2077
- "type": "boolean"
2078
- },
2079
- "limit": {
2080
- "description": "Maximum number of records to return",
2081
- "name": "limit",
2082
- "hasDynamicHelp": false,
2083
- "multiple": false,
2084
- "type": "option"
2085
- },
2086
- "metadata-types": {
2087
- "description": "Optional comma-separated metadata types to include",
2088
- "name": "metadata-types",
2089
- "hasDynamicHelp": false,
2090
- "multiple": false,
2091
- "type": "option"
2092
- },
2093
- "modified-by": {
2094
- "description": "Filter by last modified user",
2095
- "name": "modified-by",
2096
- "hasDynamicHelp": false,
2097
- "multiple": false,
2098
- "type": "option"
2099
- },
2100
- "module-type": {
2101
- "description": "Optional addon module type",
2102
- "name": "module-type",
2103
- "hasDynamicHelp": false,
2104
- "multiple": false,
2105
- "options": [
2106
- "vlocity",
2107
- "data_cloud"
2108
- ],
2109
- "type": "option"
2110
- },
2111
- "order-direction": {
2112
- "description": "Sort direction for last modified date",
2113
- "name": "order-direction",
2114
- "hasDynamicHelp": false,
2115
- "multiple": false,
2116
- "options": [
2117
- "ASC",
2118
- "DESC"
2119
- ],
2120
- "type": "option"
2121
- },
2122
- "pipeline-id": {
2123
- "description": "Pipeline Id",
2124
- "name": "pipeline-id",
2125
- "hasDynamicHelp": false,
2126
- "multiple": false,
2127
- "type": "option"
2128
- },
2129
- "platform-experience": {
2130
- "description": "Gateway platform experience header",
2131
- "name": "platform-experience",
2132
- "default": "salesforce",
2133
- "hasDynamicHelp": false,
2134
- "multiple": false,
2135
- "options": [
2136
- "salesforce",
2137
- "sfdx",
2138
- "metacache",
2139
- "db"
2140
- ],
2141
- "type": "option"
2142
- },
2143
- "source": {
2144
- "description": "Index source filter",
2145
- "name": "source",
2146
- "hasDynamicHelp": false,
2147
- "multiple": false,
2148
- "options": [
2149
- "All",
2150
- "Changed",
2151
- "Deleted",
2152
- "New",
2153
- "NewAndChanged",
2154
- "PreviouslyCommitted"
2155
- ],
2156
- "type": "option"
2157
- },
2158
- "source-credential-id": {
2159
- "description": "Source org credential Id",
2160
- "name": "source-credential-id",
2161
- "hasDynamicHelp": false,
2162
- "multiple": false,
2163
- "type": "option"
2164
- },
2165
- "source-org-id": {
2166
- "description": "Source org Id",
2167
- "name": "source-org-id",
2168
- "hasDynamicHelp": false,
2169
- "multiple": false,
2170
- "type": "option"
2171
- },
2172
- "target-org-id": {
2173
- "description": "Optional target org Id",
2174
- "name": "target-org-id",
2175
- "hasDynamicHelp": false,
2176
- "multiple": false,
2177
- "type": "option"
2178
- }
2179
- },
2180
- "hasDynamicHelp": false,
2181
- "hiddenAliases": [],
2182
- "id": "cicd:metadata:list",
2183
- "pluginAlias": "@copado/agentia-cli",
2184
- "pluginName": "@copado/agentia-cli",
2185
- "pluginType": "core",
2186
- "strict": true,
2187
- "enableJsonFlag": true,
2188
- "isESM": true,
2189
- "relativePath": [
2190
- "dist",
2191
- "commands",
2192
- "cicd",
2193
- "metadata",
2194
- "list.js"
2195
- ]
2196
- },
2197
2057
  "cicd:job:get": {
2198
2058
  "aliases": [],
2199
2059
  "args": {
@@ -2538,6 +2398,160 @@
2538
2398
  "run.js"
2539
2399
  ]
2540
2400
  },
2401
+ "cicd:metadata:list": {
2402
+ "aliases": [],
2403
+ "args": {},
2404
+ "description": "Search the metadata index for an org via the CICD gateway",
2405
+ "examples": [
2406
+ "<%= config.bin %> <%= command.id %> --pipeline-id <id> --source-org-id <id> --source-credential-id <id>",
2407
+ "<%= config.bin %> <%= command.id %> --source Changed --metadata-types ApexClass --limit 100 --pipeline-id <id> --source-org-id <id> --source-credential-id <id>",
2408
+ "<%= config.bin %> <%= command.id %> --source NewAndChanged --find-managed-packages --json"
2409
+ ],
2410
+ "flags": {
2411
+ "json": {
2412
+ "description": "Format output as json.",
2413
+ "helpGroup": "GLOBAL",
2414
+ "name": "json",
2415
+ "allowNo": false,
2416
+ "type": "boolean"
2417
+ },
2418
+ "avoid-source-tracking": {
2419
+ "description": "Pass avoidSourceTracking=true to the gateway index route",
2420
+ "name": "avoid-source-tracking",
2421
+ "allowNo": false,
2422
+ "type": "boolean"
2423
+ },
2424
+ "filter-type": {
2425
+ "description": "Optional metadata type name filter, for example ApexClass",
2426
+ "name": "filter-type",
2427
+ "hasDynamicHelp": false,
2428
+ "multiple": false,
2429
+ "type": "option"
2430
+ },
2431
+ "find-managed-packages": {
2432
+ "description": "Include managed package metadata in the search",
2433
+ "name": "find-managed-packages",
2434
+ "allowNo": false,
2435
+ "type": "boolean"
2436
+ },
2437
+ "limit": {
2438
+ "description": "Maximum number of records to return",
2439
+ "name": "limit",
2440
+ "hasDynamicHelp": false,
2441
+ "multiple": false,
2442
+ "type": "option"
2443
+ },
2444
+ "metadata-types": {
2445
+ "description": "Optional comma-separated metadata types to include",
2446
+ "name": "metadata-types",
2447
+ "hasDynamicHelp": false,
2448
+ "multiple": false,
2449
+ "type": "option"
2450
+ },
2451
+ "modified-by": {
2452
+ "description": "Filter by last modified user",
2453
+ "name": "modified-by",
2454
+ "hasDynamicHelp": false,
2455
+ "multiple": false,
2456
+ "type": "option"
2457
+ },
2458
+ "module-type": {
2459
+ "description": "Optional addon module type",
2460
+ "name": "module-type",
2461
+ "hasDynamicHelp": false,
2462
+ "multiple": false,
2463
+ "options": [
2464
+ "vlocity",
2465
+ "data_cloud"
2466
+ ],
2467
+ "type": "option"
2468
+ },
2469
+ "order-direction": {
2470
+ "description": "Sort direction for last modified date",
2471
+ "name": "order-direction",
2472
+ "hasDynamicHelp": false,
2473
+ "multiple": false,
2474
+ "options": [
2475
+ "ASC",
2476
+ "DESC"
2477
+ ],
2478
+ "type": "option"
2479
+ },
2480
+ "pipeline-id": {
2481
+ "description": "Pipeline Id",
2482
+ "name": "pipeline-id",
2483
+ "hasDynamicHelp": false,
2484
+ "multiple": false,
2485
+ "type": "option"
2486
+ },
2487
+ "platform-experience": {
2488
+ "description": "Gateway platform experience header",
2489
+ "name": "platform-experience",
2490
+ "default": "salesforce",
2491
+ "hasDynamicHelp": false,
2492
+ "multiple": false,
2493
+ "options": [
2494
+ "salesforce",
2495
+ "sfdx",
2496
+ "metacache",
2497
+ "db"
2498
+ ],
2499
+ "type": "option"
2500
+ },
2501
+ "source": {
2502
+ "description": "Index source filter",
2503
+ "name": "source",
2504
+ "hasDynamicHelp": false,
2505
+ "multiple": false,
2506
+ "options": [
2507
+ "All",
2508
+ "Changed",
2509
+ "Deleted",
2510
+ "New",
2511
+ "NewAndChanged",
2512
+ "PreviouslyCommitted"
2513
+ ],
2514
+ "type": "option"
2515
+ },
2516
+ "source-credential-id": {
2517
+ "description": "Source org credential Id",
2518
+ "name": "source-credential-id",
2519
+ "hasDynamicHelp": false,
2520
+ "multiple": false,
2521
+ "type": "option"
2522
+ },
2523
+ "source-org-id": {
2524
+ "description": "Source org Id",
2525
+ "name": "source-org-id",
2526
+ "hasDynamicHelp": false,
2527
+ "multiple": false,
2528
+ "type": "option"
2529
+ },
2530
+ "target-org-id": {
2531
+ "description": "Optional target org Id",
2532
+ "name": "target-org-id",
2533
+ "hasDynamicHelp": false,
2534
+ "multiple": false,
2535
+ "type": "option"
2536
+ }
2537
+ },
2538
+ "hasDynamicHelp": false,
2539
+ "hiddenAliases": [],
2540
+ "id": "cicd:metadata:list",
2541
+ "pluginAlias": "@copado/agentia-cli",
2542
+ "pluginName": "@copado/agentia-cli",
2543
+ "pluginType": "core",
2544
+ "strict": true,
2545
+ "enableJsonFlag": true,
2546
+ "isESM": true,
2547
+ "relativePath": [
2548
+ "dist",
2549
+ "commands",
2550
+ "cicd",
2551
+ "metadata",
2552
+ "list.js"
2553
+ ]
2554
+ },
2541
2555
  "cicd:pipeline:get": {
2542
2556
  "aliases": [],
2543
2557
  "args": {
@@ -7674,6 +7688,55 @@
7674
7688
  "status.js"
7675
7689
  ]
7676
7690
  },
7691
+ "cicd:job:log:get": {
7692
+ "aliases": [],
7693
+ "args": {
7694
+ "id": {
7695
+ "description": "JobExecution Id",
7696
+ "name": "id",
7697
+ "required": true
7698
+ }
7699
+ },
7700
+ "description": "Get log output for a Copado job execution step",
7701
+ "examples": [
7702
+ "<%= config.bin %> <%= command.id %> <job-id>",
7703
+ "<%= config.bin %> <%= command.id %> <job-id> --step <step-id>",
7704
+ "<%= config.bin %> <%= command.id %> <job-id> --json"
7705
+ ],
7706
+ "flags": {
7707
+ "json": {
7708
+ "description": "Format output as json.",
7709
+ "helpGroup": "GLOBAL",
7710
+ "name": "json",
7711
+ "allowNo": false,
7712
+ "type": "boolean"
7713
+ },
7714
+ "step": {
7715
+ "description": "Job step Id (defaults to the first step with a result Id)",
7716
+ "name": "step",
7717
+ "hasDynamicHelp": false,
7718
+ "multiple": false,
7719
+ "type": "option"
7720
+ }
7721
+ },
7722
+ "hasDynamicHelp": false,
7723
+ "hiddenAliases": [],
7724
+ "id": "cicd:job:log:get",
7725
+ "pluginAlias": "@copado/agentia-cli",
7726
+ "pluginName": "@copado/agentia-cli",
7727
+ "pluginType": "core",
7728
+ "strict": true,
7729
+ "enableJsonFlag": true,
7730
+ "isESM": true,
7731
+ "relativePath": [
7732
+ "dist",
7733
+ "commands",
7734
+ "cicd",
7735
+ "job",
7736
+ "log",
7737
+ "get.js"
7738
+ ]
7739
+ },
7677
7740
  "cicd:metadata:content:compare": {
7678
7741
  "aliases": [],
7679
7742
  "args": {},
@@ -8448,55 +8511,6 @@
8448
8511
  "status.js"
8449
8512
  ]
8450
8513
  },
8451
- "cicd:job:log:get": {
8452
- "aliases": [],
8453
- "args": {
8454
- "id": {
8455
- "description": "JobExecution Id",
8456
- "name": "id",
8457
- "required": true
8458
- }
8459
- },
8460
- "description": "Get log output for a Copado job execution step",
8461
- "examples": [
8462
- "<%= config.bin %> <%= command.id %> <job-id>",
8463
- "<%= config.bin %> <%= command.id %> <job-id> --step <step-id>",
8464
- "<%= config.bin %> <%= command.id %> <job-id> --json"
8465
- ],
8466
- "flags": {
8467
- "json": {
8468
- "description": "Format output as json.",
8469
- "helpGroup": "GLOBAL",
8470
- "name": "json",
8471
- "allowNo": false,
8472
- "type": "boolean"
8473
- },
8474
- "step": {
8475
- "description": "Job step Id (defaults to the first step with a result Id)",
8476
- "name": "step",
8477
- "hasDynamicHelp": false,
8478
- "multiple": false,
8479
- "type": "option"
8480
- }
8481
- },
8482
- "hasDynamicHelp": false,
8483
- "hiddenAliases": [],
8484
- "id": "cicd:job:log:get",
8485
- "pluginAlias": "@copado/agentia-cli",
8486
- "pluginName": "@copado/agentia-cli",
8487
- "pluginType": "core",
8488
- "strict": true,
8489
- "enableJsonFlag": true,
8490
- "isESM": true,
8491
- "relativePath": [
8492
- "dist",
8493
- "commands",
8494
- "cicd",
8495
- "job",
8496
- "log",
8497
- "get.js"
8498
- ]
8499
- },
8500
8514
  "cicd:pipeline:connection:list": {
8501
8515
  "aliases": [],
8502
8516
  "args": {},
@@ -9109,5 +9123,5 @@
9109
9123
  ]
9110
9124
  }
9111
9125
  },
9112
- "version": "0.52.0-alpha.0"
9126
+ "version": "0.53.0-alpha.0"
9113
9127
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@copado/agentia-cli",
3
3
  "description": "Command-line interface for Agentia",
4
- "version": "0.52.0-alpha.0",
4
+ "version": "0.53.0-alpha.0",
5
5
  "author": "Copado Solutions",
6
6
  "bin": {
7
7
  "agentia": "./bin/run.js"