Skip to content

Commit d43dea6

Browse files
author
Kowser
committed
Switch port to 8080
1 parent 89576b7 commit d43dea6

112 files changed

Lines changed: 138 additions & 138 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ docs/agents/ # Agent layer documentation
7777
deps (`scripts/install-example-deps.sh`); `examples/agents` is excluded from
7878
the root tsconfig.
7979
- `AGENTSPAN_*` env vars (`AGENTSPAN_SERVER_URL`, default
80-
`http://localhost:6767/api`) are the agent layer's config surface — kept
80+
`http://localhost:8080/api`) are the agent layer's config surface — kept
8181
working as-is; `CONDUCTOR_*` aliases are a possible follow-up.
8282

8383
## Commands

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ const agent = new Agent({
554554
instructions: "You are a friendly assistant. Keep responses brief.",
555555
});
556556
557-
const runtime = new AgentRuntime(); // AGENTSPAN_SERVER_URL, default http://localhost:6767/api
557+
const runtime = new AgentRuntime(); // AGENTSPAN_SERVER_URL, default http://localhost:8080/api
558558
try {
559559
const result = await runtime.run(agent, "Hello! What can you do?");
560560
result.printResult();

docs/agents/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ try {
3636
}
3737
```
3838

39-
You need a running Agentspan server (default `http://localhost:6767/api`). See [getting-started.md](getting-started.md).
39+
You need a running Agentspan server (default `http://localhost:8080/api`). See [getting-started.md](getting-started.md).

docs/agents/advanced.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Runtime configuration, the control-plane and workflow clients, the deploy/serve/
1010
import { AgentRuntime } from '@io-orkes/conductor-javascript/agents';
1111

1212
const runtime = new AgentRuntime({
13-
serverUrl: 'http://localhost:6767/api', // AGENTSPAN_SERVER_URL
13+
serverUrl: 'http://localhost:8080/api', // AGENTSPAN_SERVER_URL
1414
authKey: '', // AGENTSPAN_AUTH_KEY
1515
authSecret: '', // AGENTSPAN_AUTH_SECRET
1616
apiKey: '', // AGENTSPAN_API_KEY (pre-minted token)
@@ -27,7 +27,7 @@ There is also a module-level singleton API for convenience — `configure(option
2727

2828
```ts
2929
import { configure, run, shutdown } from '@io-orkes/conductor-javascript/agents';
30-
configure({ serverUrl: 'http://localhost:6767/api' });
30+
configure({ serverUrl: 'http://localhost:8080/api' });
3131
const result = await run(agent, 'hi');
3232
await shutdown();
3333
```

docs/agents/api-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Read-only client for Conductor workflow executions. Available as `runtime.workfl
7373

7474
```ts
7575
interface AgentConfigOptions {
76-
serverUrl?: string; // AGENTSPAN_SERVER_URL (default http://localhost:6767/api)
76+
serverUrl?: string; // AGENTSPAN_SERVER_URL (default http://localhost:8080/api)
7777
apiKey?: string; // AGENTSPAN_API_KEY (pre-minted token)
7878
authKey?: string; // AGENTSPAN_AUTH_KEY
7979
authSecret?: string; // AGENTSPAN_AUTH_SECRET

docs/agents/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ npm install zod
1818

1919
## 2. Point at a server
2020

21-
You need a running Agentspan server. The defaults assume a local one at `http://localhost:6767/api` (the SDK auto-appends `/api` if you omit it).
21+
You need a running Agentspan server. The defaults assume a local one at `http://localhost:8080/api` (the SDK auto-appends `/api` if you omit it).
2222

2323
| Variable | Default | Description |
2424
|---|---|---|
25-
| `AGENTSPAN_SERVER_URL` | `http://localhost:6767/api` | Agentspan server URL. |
25+
| `AGENTSPAN_SERVER_URL` | `http://localhost:8080/api` | Agentspan server URL. |
2626
| `AGENTSPAN_AUTH_KEY` || Auth key. Unset = no-auth mode (local / OSS). |
2727
| `AGENTSPAN_AUTH_SECRET` || Auth secret. Set together with the key for Orkes Cloud. |
2828
| `AGENTSPAN_API_KEY` || Pre-minted bearer token (alternative to key/secret). |
2929

3030
```bash
31-
export AGENTSPAN_SERVER_URL=http://localhost:6767/api
31+
export AGENTSPAN_SERVER_URL=http://localhost:8080/api
3232
export OPENAI_API_KEY=<YOUR-KEY>
3333
export AGENTSPAN_LLM_MODEL=openai/gpt-4o-mini
3434
# Orkes Cloud only:

e2e/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function expectMsg(actual: unknown, message?: string): ReturnType<typeof
3737
}) as ReturnType<typeof expect>;
3838
}
3939

40-
const SERVER_URL = process.env.AGENTSPAN_SERVER_URL ?? 'http://localhost:6767/api';
40+
const SERVER_URL = process.env.AGENTSPAN_SERVER_URL ?? 'http://localhost:8080/api';
4141
const BASE_URL = SERVER_URL.replace(/\/api$/, '');
4242
export const MODEL = process.env.AGENTSPAN_LLM_MODEL ?? 'openai/gpt-4o-mini';
4343
export const CLI_PATH = process.env.AGENTSPAN_CLI_PATH ?? 'agentspan';

e2e/test_suite11_langgraph.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ let z: any;
4040
let serializeLangGraph: any;
4141
let detectFramework: any;
4242

43-
const SERVER_URL = process.env.AGENTSPAN_SERVER_URL ?? 'http://localhost:6767/api';
43+
const SERVER_URL = process.env.AGENTSPAN_SERVER_URL ?? 'http://localhost:8080/api';
4444
const BASE_URL = SERVER_URL.replace(/\/api$/, '');
4545

4646
try {

e2e/test_suite20_plan_execute.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ describe('Suite 20: Plan-Execute Refs (deterministic)', () => {
600600
}
601601

602602
async function fetchStepOutputs(executionId: string): Promise<Record<string, unknown>> {
603-
const base = (process.env.AGENTSPAN_SERVER_URL ?? 'http://localhost:6767/api')
603+
const base = (process.env.AGENTSPAN_SERVER_URL ?? 'http://localhost:8080/api')
604604
.replace(/\/api$/, '')
605605
.replace(/\/$/, '');
606606
const parent = (await (await fetch(`${base}/api/workflow/${executionId}?includeTasks=true`)).json()) as {

e2e/test_suite21_scheduling.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
} from '@io-orkes/conductor-javascript/agents';
1818

1919
import { expectMsg } from './helpers';
20-
const SERVER_URL = process.env.AGENTSPAN_SERVER_URL ?? 'http://localhost:6767/api';
20+
const SERVER_URL = process.env.AGENTSPAN_SERVER_URL ?? 'http://localhost:8080/api';
2121

2222
async function schedulerAvailable(): Promise<boolean> {
2323
try {

0 commit comments

Comments
 (0)