Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.2.1-1] - 2026-07-25

## [4.2.1-0] - 2026-07-24

## [4.2.0] - 2026-07-22

### Added
Expand Down Expand Up @@ -2379,7 +2383,9 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
- Fixed problem with adding connection profiles
- Miscellaneous bug fixes

[unreleased]: https://github.com/rockcarver/frodo-cli/compare/v4.2.0...HEAD
[unreleased]: https://github.com/rockcarver/frodo-cli/compare/v4.2.1-1...HEAD
[4.2.1-1]: https://github.com/rockcarver/frodo-cli/compare/v4.2.1-0...v4.2.1-1
[4.2.1-0]: https://github.com/rockcarver/frodo-cli/compare/v4.2.0...v4.2.1-0
[4.2.0]: https://github.com/rockcarver/frodo-cli/compare/v4.1.0...v4.2.0
[4.1.0]: https://github.com/rockcarver/frodo-cli/compare/v4.0.2-0...v4.1.0
[4.0.2-0]: https://github.com/rockcarver/frodo-cli/compare/v4.0.1...v4.0.2-0
Expand Down
2 changes: 0 additions & 2 deletions docs/EXAMPLE_SECURE_E2E_TEST_MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ This shows how to update `test/e2e/agent-delete.e2e.test.js` to use the global `
import {
clearFixture,
getEnv,
removeAnsiEscapeCodes,
stageFixture,
} from './utils/TestUtils';
import { connection as c } from './utils/TestConfig';
Expand Down Expand Up @@ -39,7 +38,6 @@ describe('frodo agent delete', () => {
import {
clearFixture,
getEnv,
removeAnsiEscapeCodes,
stageFixture,
} from './utils/TestUtils';
import { connection as c } from './utils/TestConfig';
Expand Down
14,791 changes: 13,443 additions & 1,348 deletions package-lock.json

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rockcarver/frodo-cli",
"version": "4.2.0",
"version": "4.2.1-1",
"type": "module",
"description": "A command line interface to manage ForgeRock Identity Cloud tenants, ForgeOps deployments, and classic deployments.",
"keywords": [
Expand Down Expand Up @@ -33,10 +33,10 @@
"main": "dist/launch.cjs",
"scripts": {
"test": "npm run test:only",
"test:only": "FRODO_TEST=1 NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent",
"test:serial": "FRODO_TEST=1 NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent --runInBand",
"test:debug": "FRODO_TEST=1 NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent=false --json --outputFile=./testResults.json",
"test:update": "FRODO_TEST=1 NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent=false --updateSnapshot",
"test:only": "FRODO_TEST=1 NO_COLOR=1 NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent",
"test:serial": "FRODO_TEST=1 NO_COLOR=1 NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent --runInBand",
"test:debug": "FRODO_TEST=1 NO_COLOR=1 NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent=false --json --outputFile=./testResults.json",
"test:update": "FRODO_TEST=1 NO_COLOR=1 NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent=false --updateSnapshot",
"mcp:batch1": "node tools/mcp-agentic-batch-run.mjs --output docs/mcp-agentic-run-log.batch1.json",
"mcp:batch2": "node tools/mcp-agentic-batch-run.mjs --batch batch2 --output docs/mcp-agentic-run-log.batch2.json",
"mcp:batch3": "node tools/mcp-agentic-batch-run.mjs --batch batch3 --output docs/mcp-agentic-run-log.batch3.json",
Expand Down Expand Up @@ -105,7 +105,7 @@
},
"devDependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
"@rockcarver/frodo-lib": "4.1.0",
"@rockcarver/frodo-lib": "4.1.2",
"@types/colors": "^1.2.1",
"@types/fs-extra": "^11.0.1",
"@types/jest": "^29.2.3",
Expand All @@ -116,7 +116,6 @@
"chokidar": "^4.0.3",
"cli-progress": "^3.11.2",
"cli-table3": "^0.6.3",
"colors": "^1.4.0",
"commander": "^14.0.3",
"compare-versions": "^6.1.0",
"copyfiles": "^2.4.1",
Expand Down
19 changes: 10 additions & 9 deletions src/cli/_template/something-delete.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { frodo } from '@rockcarver/frodo-lib';
import { Option } from 'commander';
import c from 'tinyrainbow';

import * as s from '../../help/SampleData';
import { getTokens } from '../../ops/AuthenticateOps';
Expand Down Expand Up @@ -37,17 +38,17 @@ export default function setup() {
'after',
`Usage Examples:\n` +
` Example command one with params and explanation what it does:\n` +
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`
) +
` Example command two with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`
) +
` Example command three with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`[
'brightCyan'
]
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`
)
)
.action(
// implement command logic inside action handler
Expand Down
19 changes: 10 additions & 9 deletions src/cli/_template/something-describe.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { frodo } from '@rockcarver/frodo-lib';
import { Option } from 'commander';
import c from 'tinyrainbow';

import * as s from '../../help/SampleData';
import { getTokens } from '../../ops/AuthenticateOps';
Expand All @@ -25,17 +26,17 @@ export default function setup() {
'after',
`Usage Examples:\n` +
` Example command one with params and explanation what it does:\n` +
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`
) +
` Example command two with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`
) +
` Example command three with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`[
'brightCyan'
]
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`
)
)
.action(
// implement command logic inside action handler
Expand Down
19 changes: 10 additions & 9 deletions src/cli/_template/something-else-delete.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { frodo } from '@rockcarver/frodo-lib';
import { Option } from 'commander';
import c from 'tinyrainbow';

import * as s from '../../help/SampleData';
import { getTokens } from '../../ops/AuthenticateOps';
Expand Down Expand Up @@ -35,17 +36,17 @@ export default function setup() {
'after',
`Usage Examples:\n` +
` Example command one with params and explanation what it does:\n` +
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`
) +
` Example command two with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`
) +
` Example command three with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`[
'brightCyan'
]
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`
)
)
.action(
// implement command logic inside action handler
Expand Down
19 changes: 10 additions & 9 deletions src/cli/_template/something-else-describe.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { frodo } from '@rockcarver/frodo-lib';
import { Option } from 'commander';
import c from 'tinyrainbow';

import * as s from '../../help/SampleData';
import { getTokens } from '../../ops/AuthenticateOps';
Expand All @@ -23,17 +24,17 @@ export default function setup() {
'after',
`Usage Examples:\n` +
` Example command one with params and explanation what it does:\n` +
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`
) +
` Example command two with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`
) +
` Example command three with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`[
'brightCyan'
]
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`
)
)
.action(
// implement command logic inside action handler
Expand Down
19 changes: 10 additions & 9 deletions src/cli/_template/something-else-export.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { frodo } from '@rockcarver/frodo-lib';
import { Option } from 'commander';
import c from 'tinyrainbow';

import * as s from '../../help/SampleData';
import { getTokens } from '../../ops/AuthenticateOps';
Expand Down Expand Up @@ -47,17 +48,17 @@ export default function setup() {
'after',
`Usage Examples:\n` +
` Example command one with params and explanation what it does:\n` +
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`
) +
` Example command two with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`
) +
` Example command three with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`[
'brightCyan'
]
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`
)
)
.action(
// implement command logic inside action handler
Expand Down
19 changes: 10 additions & 9 deletions src/cli/_template/something-else-import.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { frodo } from '@rockcarver/frodo-lib';
import { Option } from 'commander';
import c from 'tinyrainbow';

import * as s from '../../help/SampleData';
import { getTokens } from '../../ops/AuthenticateOps';
Expand Down Expand Up @@ -41,17 +42,17 @@ export default function setup() {
'after',
`Usage Examples:\n` +
` Example command one with params and explanation what it does:\n` +
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`
) +
` Example command two with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`
) +
` Example command three with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`[
'brightCyan'
]
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`
)
)
.action(
// implement command logic inside action handler
Expand Down
19 changes: 10 additions & 9 deletions src/cli/_template/something-else-list.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { frodo } from '@rockcarver/frodo-lib';
import { Option } from 'commander';
import c from 'tinyrainbow';

import * as s from '../../help/SampleData';
import { getTokens } from '../../ops/AuthenticateOps';
Expand All @@ -25,17 +26,17 @@ export default function setup() {
'after',
`Usage Examples:\n` +
` Example command one with params and explanation what it does:\n` +
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`
) +
` Example command two with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`
) +
` Example command three with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`[
'brightCyan'
]
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`
)
)
.action(
// implement command logic inside action handler
Expand Down
19 changes: 10 additions & 9 deletions src/cli/_template/something-export.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { frodo } from '@rockcarver/frodo-lib';
import { Option } from 'commander';
import c from 'tinyrainbow';

import * as s from '../../help/SampleData';
import { getTokens } from '../../ops/AuthenticateOps';
Expand Down Expand Up @@ -47,17 +48,17 @@ export default function setup() {
'after',
`Usage Examples:\n` +
` Example command one with params and explanation what it does:\n` +
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`
) +
` Example command two with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`
) +
` Example command three with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`[
'brightCyan'
]
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`
)
)
.action(
// implement command logic inside action handler
Expand Down
19 changes: 10 additions & 9 deletions src/cli/_template/something-import.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { frodo } from '@rockcarver/frodo-lib';
import { Option } from 'commander';
import c from 'tinyrainbow';

import * as s from '../../help/SampleData';
import { getTokens } from '../../ops/AuthenticateOps';
Expand Down Expand Up @@ -41,17 +42,17 @@ export default function setup() {
'after',
`Usage Examples:\n` +
` Example command one with params and explanation what it does:\n` +
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something ${s.amBaseUrl} ${s.username} '${s.password}'\n`
) +
` Example command two with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`[
'brightCyan'
] +
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.amBaseUrl}\n`
) +
` Example command three with params and explanation what it does:\n` +
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`[
'brightCyan'
]
c.cyanBright(
` $ frodo something --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile} ${s.connId}\n`
)
)
.action(
// implement command logic inside action handler
Expand Down
Loading