Skip to content

Commit 9a94b49

Browse files
committed
Move entry point from src/index.js to root index.js and update package.json
1 parent fa79205 commit 9a94b49

File tree

3 files changed

+7
-39
lines changed

3 files changed

+7
-39
lines changed

examples/wallpaper.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/index.js renamed to index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// Main entry point for the SDK
2-
import Agent from './agent.js';
3-
import Runner from './runner.js';
2+
import Agent from './src/agent.js';
3+
import Runner from './src/runner.js';
44
import {
55
VoicePipeline,
66
VoicePipelineConfig,
77
OpenAITTSModel,
88
OpenAISTTModel,
99
SingleAgentVoiceWorkflow
10-
} from './voice.js';
11-
import * as tracing from './tracing.js';
12-
import { functionTool } from './tool.js';
13-
import { inputGuardrail, outputGuardrail } from './guardrail.js';
10+
} from './src/voice.js';
11+
import * as tracing from './src/tracing.js';
12+
import { functionTool } from './src/tool.js';
13+
import { inputGuardrail, outputGuardrail } from './src/guardrail.js';
1414

1515
export {
1616
Agent,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@riligar-solutions/agents-sdk",
33
"version": "0.0.1",
44
"description": "Agents SDK for JavaScript",
5-
"main": "src/index.js",
5+
"main": "index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},

0 commit comments

Comments
 (0)