rippletide 1.0.19 → 1.0.20

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.
@@ -0,0 +1,13 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(npm run:*)",
5
+ "Bash(npx tsc:*)",
6
+ "Bash(npx:*)",
7
+ "Bash(npm install:*)",
8
+ "Bash(npm version:*)",
9
+ "Bash(npm publish:*)",
10
+ "Bash(npm whoami:*)"
11
+ ]
12
+ }
13
+ }
package/dist/App.js CHANGED
@@ -13,7 +13,7 @@ import { BaseError, ValidationError } from './errors/types.js';
13
13
  import { logger } from './utils/logger.js';
14
14
  import { analytics } from './utils/analytics.js';
15
15
  const knowledgeSources = [
16
- { label: 'Local Files (qanda.json)', value: 'files', description: 'Use qanda.json from current directory' },
16
+ { label: 'Local Files (qanda.json)', value: 'files', description: 'Use a question-answer file (qanda.json) from the current directory' },
17
17
  { label: 'PDF Document', value: 'pdf', description: 'Upload and extract knowledge from a PDF file' },
18
18
  { label: 'Pinecone', value: 'pinecone', description: 'Fetch Q&A from Pinecone database' },
19
19
  { label: 'PostgreSQL Database', value: 'postgresql', description: 'Connect to PostgreSQL database' },
@@ -190,7 +190,7 @@ export const App = ({ backendUrl, dashboardUrl, nonInteractive, agentEndpoint: i
190
190
  passed: 0,
191
191
  failed: 0,
192
192
  duration: 'Failed',
193
- evaluationUrl: dashboardUrl || 'https://eval.rippletide.com',
193
+ evaluationUrl: dashboardUrl || 'https://app.rippletide.com/eval',
194
194
  error: errorMessage,
195
195
  });
196
196
  setStep('complete');
@@ -235,7 +235,7 @@ export const App = ({ backendUrl, dashboardUrl, nonInteractive, agentEndpoint: i
235
235
  passed: 0,
236
236
  failed: 0,
237
237
  duration: 'Failed',
238
- evaluationUrl: dashboardUrl || 'https://eval.rippletide.com',
238
+ evaluationUrl: dashboardUrl || 'https://app.rippletide.com/eval',
239
239
  error: errorMessage,
240
240
  });
241
241
  setStep('complete');
@@ -273,7 +273,7 @@ export const App = ({ backendUrl, dashboardUrl, nonInteractive, agentEndpoint: i
273
273
  passed: 0,
274
274
  failed: 0,
275
275
  duration: 'Failed',
276
- evaluationUrl: dashboardUrl || 'https://eval.rippletide.com',
276
+ evaluationUrl: dashboardUrl || 'https://app.rippletide.com/eval',
277
277
  error: errorMessage,
278
278
  });
279
279
  setStep('complete');
@@ -471,7 +471,7 @@ export const App = ({ backendUrl, dashboardUrl, nonInteractive, agentEndpoint: i
471
471
  passed,
472
472
  failed,
473
473
  duration: durationStr,
474
- evaluationUrl: `${dashboardUrl || 'https://eval.rippletide.com'}/eval/${agentId}`,
474
+ evaluationUrl: `${dashboardUrl || 'https://app.rippletide.com/eval'}/eval/${agentId}`,
475
475
  agentId,
476
476
  };
477
477
  analytics.track('evaluation_completed', {
@@ -493,7 +493,7 @@ export const App = ({ backendUrl, dashboardUrl, nonInteractive, agentEndpoint: i
493
493
  passed: 0,
494
494
  failed: 0,
495
495
  duration: 'Failed',
496
- evaluationUrl: dashboardUrl || 'https://eval.rippletide.com',
496
+ evaluationUrl: dashboardUrl || 'https://app.rippletide.com/eval',
497
497
  error: errorMessage,
498
498
  });
499
499
  setStep('complete');
@@ -687,7 +687,11 @@ export const App = ({ backendUrl, dashboardUrl, nonInteractive, agentEndpoint: i
687
687
  React.createElement(Text, { bold: true, color: "#eba1b5" }, "Choose your data source:")),
688
688
  knowledgeFound && (React.createElement(Box, { marginBottom: 1 },
689
689
  React.createElement(Text, { color: "white" }, "qanda.json found in current directory"))),
690
- React.createElement(SelectMenu, { title: "Data Source", options: knowledgeSources, onSelect: handleSourceSelect }))),
690
+ React.createElement(SelectMenu, { title: "Data Source", options: knowledgeSources, onSelect: handleSourceSelect }),
691
+ React.createElement(Box, { marginTop: 1, flexDirection: "column" },
692
+ React.createElement(Text, { dimColor: true }, "Example qanda.json format:"),
693
+ React.createElement(Box, { paddingLeft: 2, flexDirection: "column" },
694
+ React.createElement(Text, { dimColor: true }, `[ { "question": "What are your hours?", "answer": "Mon-Fri 9am-6pm" } ]`))))),
691
695
  step === 'pinecone-url' && (React.createElement(Box, { flexDirection: "column" },
692
696
  React.createElement(TextInput, { label: "Pinecone database URL", placeholder: "https://sample-movies-02j22s8.svc.aped-4627-b74a.pinecone.io", onSubmit: handlePineconeUrlSubmit }))),
693
697
  step === 'pinecone-api-key' && (React.createElement(Box, { flexDirection: "column" },
@@ -3,5 +3,7 @@ import { Box, Text } from 'ink';
3
3
  export const Header = () => {
4
4
  return (React.createElement(Box, { flexDirection: "column", marginBottom: 2 },
5
5
  React.createElement(Text, { bold: true, color: "#eba1b5" }, "Rippletide Evaluation"),
6
+ React.createElement(Text, { bold: true, color: "#eba1b5" }, "How It Works"),
7
+ React.createElement(Text, { dimColor: true }, "1. Connect your endpoint 2. Add your knowledge source 3. Run the evaluation"),
6
8
  React.createElement(Text, { color: "gray" }, "\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501")));
7
9
  };
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ const parseArgs = async () => {
31
31
  }
32
32
  const options = {
33
33
  backendUrl: 'https://agent-evalserver-production.up.railway.app',
34
- dashboardUrl: 'https://eval.rippletide.com',
34
+ dashboardUrl: 'https://app.rippletide.com/eval',
35
35
  debug: false,
36
36
  nonInteractive: false
37
37
  };
@@ -127,7 +127,7 @@ Options:
127
127
  -a, --agent <url> Agent endpoint URL (e.g., localhost:8000)
128
128
  -k, --knowledge <source> Knowledge source: files, pinecone, postgresql, or pdf (default: files)
129
129
  -b, --backend-url <url> Backend API URL (default: https://agent-evalserver-production.up.railway.app)
130
- -d, --dashboard-url <url> Dashboard URL (default: https://eval.rippletide.com)
130
+ -d, --dashboard-url <url> Dashboard URL (default: https://app.rippletide.com/eval)
131
131
 
132
132
  Pinecone options:
133
133
  -pu, --pinecone-url <url> Pinecone database URL
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rippletide",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "Rippletide Evaluation CLI",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/App.tsx CHANGED
@@ -34,7 +34,7 @@ type Step =
34
34
  | 'complete';
35
35
 
36
36
  const knowledgeSources = [
37
- { label: 'Local Files (qanda.json)', value: 'files', description: 'Use qanda.json from current directory' },
37
+ { label: 'Local Files (qanda.json)', value: 'files', description: 'Use a question-answer file (qanda.json) from the current directory' },
38
38
  { label: 'PDF Document', value: 'pdf', description: 'Upload and extract knowledge from a PDF file' },
39
39
  { label: 'Pinecone', value: 'pinecone', description: 'Fetch Q&A from Pinecone database' },
40
40
  { label: 'PostgreSQL Database', value: 'postgresql', description: 'Connect to PostgreSQL database' },
@@ -239,7 +239,7 @@ export const App: React.FC<AppProps> = ({
239
239
  passed: 0,
240
240
  failed: 0,
241
241
  duration: 'Failed',
242
- evaluationUrl: dashboardUrl || 'https://eval.rippletide.com',
242
+ evaluationUrl: dashboardUrl || 'https://app.rippletide.com/eval',
243
243
  error: errorMessage,
244
244
  });
245
245
  setStep('complete');
@@ -293,7 +293,7 @@ export const App: React.FC<AppProps> = ({
293
293
  passed: 0,
294
294
  failed: 0,
295
295
  duration: 'Failed',
296
- evaluationUrl: dashboardUrl || 'https://eval.rippletide.com',
296
+ evaluationUrl: dashboardUrl || 'https://app.rippletide.com/eval',
297
297
  error: errorMessage,
298
298
  });
299
299
  setStep('complete');
@@ -339,7 +339,7 @@ export const App: React.FC<AppProps> = ({
339
339
  passed: 0,
340
340
  failed: 0,
341
341
  duration: 'Failed',
342
- evaluationUrl: dashboardUrl || 'https://eval.rippletide.com',
342
+ evaluationUrl: dashboardUrl || 'https://app.rippletide.com/eval',
343
343
  error: errorMessage,
344
344
  });
345
345
  setStep('complete');
@@ -543,7 +543,7 @@ export const App: React.FC<AppProps> = ({
543
543
  passed,
544
544
  failed,
545
545
  duration: durationStr,
546
- evaluationUrl: `${dashboardUrl || 'https://eval.rippletide.com'}/eval/${agentId}`,
546
+ evaluationUrl: `${dashboardUrl || 'https://app.rippletide.com/eval'}/eval/${agentId}`,
547
547
  agentId,
548
548
  };
549
549
 
@@ -566,7 +566,7 @@ export const App: React.FC<AppProps> = ({
566
566
  passed: 0,
567
567
  failed: 0,
568
568
  duration: 'Failed',
569
- evaluationUrl: dashboardUrl || 'https://eval.rippletide.com',
569
+ evaluationUrl: dashboardUrl || 'https://app.rippletide.com/eval',
570
570
  error: errorMessage,
571
571
  });
572
572
  setStep('complete');
@@ -844,6 +844,12 @@ export const App: React.FC<AppProps> = ({
844
844
  options={knowledgeSources}
845
845
  onSelect={handleSourceSelect}
846
846
  />
847
+ <Box marginTop={1} flexDirection="column">
848
+ <Text dimColor>Example qanda.json format:</Text>
849
+ <Box paddingLeft={2} flexDirection="column">
850
+ <Text dimColor>{`[ { "question": "What are your hours?", "answer": "Mon-Fri 9am-6pm" } ]`}</Text>
851
+ </Box>
852
+ </Box>
847
853
  </Box>
848
854
  )}
849
855
 
@@ -5,6 +5,8 @@ export const Header: React.FC = () => {
5
5
  return (
6
6
  <Box flexDirection="column" marginBottom={2}>
7
7
  <Text bold color="#eba1b5">Rippletide Evaluation</Text>
8
+ <Text bold color="#eba1b5">How It Works</Text>
9
+ <Text dimColor>1. Connect your endpoint 2. Add your knowledge source 3. Run the evaluation</Text>
8
10
  <Text color="gray">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</Text>
9
11
  </Box>
10
12
  );
package/src/index.tsx CHANGED
@@ -33,7 +33,7 @@ const parseArgs = async () => {
33
33
 
34
34
  const options: any = {
35
35
  backendUrl: 'https://agent-evalserver-production.up.railway.app',
36
- dashboardUrl: 'https://eval.rippletide.com',
36
+ dashboardUrl: 'https://app.rippletide.com/eval',
37
37
  debug: false,
38
38
  nonInteractive: false
39
39
  };
@@ -115,7 +115,7 @@ Options:
115
115
  -a, --agent <url> Agent endpoint URL (e.g., localhost:8000)
116
116
  -k, --knowledge <source> Knowledge source: files, pinecone, postgresql, or pdf (default: files)
117
117
  -b, --backend-url <url> Backend API URL (default: https://agent-evalserver-production.up.railway.app)
118
- -d, --dashboard-url <url> Dashboard URL (default: https://eval.rippletide.com)
118
+ -d, --dashboard-url <url> Dashboard URL (default: https://app.rippletide.com/eval)
119
119
 
120
120
  Pinecone options:
121
121
  -pu, --pinecone-url <url> Pinecone database URL