Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.
Merged
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
11 changes: 4 additions & 7 deletions workspaces/agent-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,16 @@ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.0.1

## `optic-agent run`

describe the command here
start your API process with Optic monitoring

```
USAGE
$ optic-agent run

OPTIONS
--command=command (required) the command to run
--config=config (required) the output from optic-ci capture:start
--masquerade=masquerade (required) host:port Optic should start on

EXAMPLE
$ optic-agent run ????
--command=command (required) the command to start your API
--config=config (required) the output from optic-ci capture:start
--listen=listen (required) host:port Optic should start on
```

_See code: [src/commands/run.ts](https://github.com/useoptic/optic-package/blob/v8.0.8/src/commands/run.ts)_
Expand Down
4 changes: 2 additions & 2 deletions workspaces/agent-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/agent-cli",
"version": "8.0.8",
"version": "8.1.0",
"author": "@useoptic",
"bin": {
"optic-agent": "./bin/run"
Expand All @@ -15,7 +15,7 @@
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/plugin-help": "^3",
"@useoptic/cli-shared": "8.0.8",
"@useoptic/cli-shared": "8.1.0",
"dotenv": "^8.2.0",
"jwt-decode": "^2.2.0",
"tslib": "^1",
Expand Down
6 changes: 3 additions & 3 deletions workspaces/ci-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/ci-cli",
"version": "8.0.8",
"version": "8.1.0",
"author": "@useoptic",
"bin": {
"optic-ci": "./bin/run"
Expand All @@ -15,8 +15,8 @@
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/plugin-help": "^3",
"@useoptic/cli-config": "8.0.8",
"@useoptic/cli-shared": "8.0.8",
"@useoptic/cli-config": "8.1.0",
"@useoptic/cli-shared": "8.1.0",
"dotenv": "^8.2.0",
"jwt-decode": "^2.2.0",
"tslib": "^1",
Expand Down
6 changes: 3 additions & 3 deletions workspaces/cli-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/cli-client",
"version": "8.0.8",
"version": "8.1.0",
"scripts": {
"ws:build": "yarn run tsc -b --verbose",
"ws:clean": "rm -rf build/*",
Expand All @@ -14,8 +14,8 @@
"main": "build/index.js",
"types": "build/index.d.ts",
"dependencies": {
"@useoptic/cli-config": "8.0.8",
"@useoptic/client-utilities": "8.0.8",
"@useoptic/cli-config": "8.1.0",
"@useoptic/client-utilities": "8.1.0",
"bottleneck": "^2.19.5",
"cross-fetch": "^3.0.4"
},
Expand Down
2 changes: 1 addition & 1 deletion workspaces/cli-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/cli-config",
"version": "8.0.8",
"version": "8.1.0",
"scripts": {
"ws:test": "echo config",
"ws:build": "yarn run tsc -b --verbose",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/cli-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/cli-scripts",
"version": "8.0.8",
"version": "8.1.0",
"scripts": {
"ws:test": "echo scripts",
"ws:build": "yarn run tsc -b --verbose",
Expand Down
10 changes: 5 additions & 5 deletions workspaces/cli-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/cli-server",
"version": "8.0.8",
"version": "8.1.0",
"scripts": {
"ws:build": "yarn run tsc -b --verbose",
"ws:clean": "rm -rf build/*",
Expand All @@ -14,10 +14,10 @@
"main": "build/index.js",
"types": "build/index.d.ts",
"dependencies": {
"@useoptic/cli-client": "8.0.8",
"@useoptic/cli-config": "8.0.8",
"@useoptic/cli-shared": "8.0.8",
"@useoptic/ui": "8.0.8",
"@useoptic/cli-client": "8.1.0",
"@useoptic/cli-config": "8.1.0",
"@useoptic/cli-shared": "8.1.0",
"@useoptic/ui": "8.1.0",
"avsc": "^5.4.18",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
Expand Down
14 changes: 7 additions & 7 deletions workspaces/cli-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/cli-shared",
"version": "8.0.8",
"version": "8.1.0",
"scripts": {
"ws:build": "yarn run tsc -b --verbose",
"ws:clean": "rm -rf build/*",
Expand All @@ -15,12 +15,12 @@
"types": "build/index.d.ts",
"dependencies": {
"@oclif/command": "^1.6.1",
"@useoptic/cli-client": "8.0.8",
"@useoptic/cli-config": "8.0.8",
"@useoptic/client-utilities": "8.0.8",
"@useoptic/domain": "8.0.8",
"@useoptic/domain-types": "8.0.8",
"@useoptic/domain-utilities": "8.0.8",
"@useoptic/cli-client": "8.1.0",
"@useoptic/cli-config": "8.1.0",
"@useoptic/client-utilities": "8.1.0",
"@useoptic/domain": "8.1.0",
"@useoptic/domain-types": "8.1.0",
"@useoptic/domain-utilities": "8.1.0",
"avsc": "^5.4.21",
"bottleneck": "^2.19.5",
"colors": "^1.4.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/client-utilities/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/client-utilities",
"version": "8.0.8",
"version": "8.1.0",
"scripts": {
"ws:build": "yarn run tsc -b --verbose",
"ws:clean": "rm -rf build/*",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/domain-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/domain-types",
"version": "8.0.8",
"version": "8.1.0",
"scripts": {
"ws:build": "yarn run tsc -b --verbose && cp -R ./src/avro-schemas/ ./build/avro-schemas",
"ws:clean": "rm -rf build/*",
Expand Down
4 changes: 2 additions & 2 deletions workspaces/domain-utilities/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/domain-utilities",
"version": "8.0.8",
"version": "8.1.0",
"scripts": {
"ws:test": "echo domain-utilities",
"ws:build": "yarn run tsc -b --verbose",
Expand All @@ -14,7 +14,7 @@
"main": "build/index.js",
"types": "build/index.d.ts",
"dependencies": {
"@useoptic/domain": "8.0.8"
"@useoptic/domain": "8.1.0"
},
"devDependencies": {},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion workspaces/domain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/domain",
"version": "8.0.8",
"version": "8.1.0",
"scripts": {
"ws:test": "echo domain",
"ws:build": "yarn run tsc -b && cp ./src/domain.js ./build/domain.js",
Expand Down
14 changes: 7 additions & 7 deletions workspaces/local-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@useoptic/cli",
"description": "The Optic CLI",
"version": "8.0.8",
"version": "8.1.0",
"author": "@useoptic",
"bin": {
"api": "./bin/run"
Expand All @@ -16,12 +16,12 @@
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/plugin-help": "^2",
"@useoptic/cli-client": "8.0.8",
"@useoptic/cli-config": "8.0.8",
"@useoptic/cli-scripts": "8.0.8",
"@useoptic/cli-server": "8.0.8",
"@useoptic/cli-shared": "8.0.8",
"@useoptic/domain": "8.0.8",
"@useoptic/cli-client": "8.1.0",
"@useoptic/cli-config": "8.1.0",
"@useoptic/cli-scripts": "8.1.0",
"@useoptic/cli-server": "8.1.0",
"@useoptic/cli-shared": "8.1.0",
"@useoptic/domain": "8.1.0",
"analytics-node": "^3.4.0-beta.1",
"cli-ux": "^5.4.1",
"colors": "^1.4.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/local-cli/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Command } from '@oclif/command';
import { LocalTaskSessionWrapper } from '../shared/local-cli-task-runner';

export default class Start extends Command {
static description = 'starts your API process behind a proxy';
static description = 'starts your API process behind an Optic proxy';

async run() {
await LocalTaskSessionWrapper(this, 'start');
Expand Down
2 changes: 1 addition & 1 deletion workspaces/local-cli/src/shared/local-cli-task-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ ${blockers.map((x) => `[pid ${x.pid}]: ${x.cmd}`).join('\n')}

const uiBaseUrl = makeUiBaseUrl(daemonState);
const uiUrl = `${uiBaseUrl}/apis/${cliSession.session.id}/diffs`;
cli.log(fromOptic(`Review the API Diff live at ${uiUrl}`));
cli.log(fromOptic(`Review the API Diff at ${uiUrl}`));

////////////////////////////////////////////////////////////////////////////////
const { capturesPath } = this.paths;
Expand Down
2 changes: 1 addition & 1 deletion workspaces/saas-types/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@useoptic/saas-types",
"description": "interfaces and types for Optic SaaS surface area",
"version": "8.0.8",
"version": "8.1.0",
"main": "build/index.js",
"files": [
"build"
Expand Down
8 changes: 4 additions & 4 deletions workspaces/snapshot-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/snapshot-tests",
"version": "8.0.8",
"version": "8.1.0",
"scripts": {
"ws:build": "yarn run tsc -b --verbose",
"ws:clean": "rm -rf build/*",
Expand All @@ -12,9 +12,9 @@
"directory": "workspaces/snapshot-tests"
},
"dependencies": {
"@useoptic/domain-types": "8.0.8",
"@useoptic/domain": "8.0.8",
"@useoptic/domain-utilities": "8.0.8",
"@useoptic/domain-types": "8.1.0",
"@useoptic/domain": "8.1.0",
"@useoptic/domain-utilities": "8.1.0",
"dataloader": "^2.0.0",
"fs-extra": "^9.0.0"
},
Expand Down
6 changes: 3 additions & 3 deletions workspaces/test-data/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/test-data",
"version": "8.0.8",
"version": "8.1.0",
"scripts": {
"ws:build": "yarn run tsc -b --verbose",
"ws:clean": "rm -rf build/*",
Expand All @@ -16,8 +16,8 @@
"main": "build/index.js",
"types": "build/index.d.ts",
"dependencies": {
"@useoptic/domain": "8.0.8",
"@useoptic/domain-types": "8.0.8",
"@useoptic/domain": "8.1.0",
"@useoptic/domain-types": "8.1.0",
"deepcopy": "^2.0.0",
"md5": "^2.2.1"
},
Expand Down
8 changes: 4 additions & 4 deletions workspaces/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/ui",
"version": "8.0.8",
"version": "8.1.0",
"files": [
"build",
"index.js",
Expand All @@ -15,9 +15,9 @@
"@material-ui/core": "^4.9.7",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.46",
"@useoptic/cli-client": "8.0.8",
"@useoptic/domain": "8.0.8",
"@useoptic/domain-utilities": "8.0.8",
"@useoptic/cli-client": "8.1.0",
"@useoptic/domain": "8.1.0",
"@useoptic/domain-utilities": "8.1.0",
"bottleneck": "^2.19.5",
"camelcase": "^5.2.0",
"classnames": "^2.2.6",
Expand Down